Package org.silverpeas.components.community

# Class CommunityInstanceFactory

java.lang.Object
org.silverpeas.components.community.CommunityInstanceFactory

All Implemented Interfaces:
  `org.silverpeas.core.admin.service.CommunityFactory`

@Provider public class CommunityInstanceFactory extends Object implements org.silverpeas.core.admin.service.CommunityFactory
Implementation of the `CommunityFactory`. It will automatically create an instance of this Silverpeas component for a given community space.

Author:
  mmoquillon

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CommunityInstanceFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `org.silverpeas.core.admin.component.model.ComponentInst`
  `createCommunity(org.silverpeas.core.admin.space.SpaceInst communitySpace)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CommunityInstanceFactory

    public CommunityInstanceFactory()

- ## Method Details

  - ### createCommunity

    @NonNull public org.silverpeas.core.admin.component.model.ComponentInst createCommunity(@NonNull org.silverpeas.core.admin.space.SpaceInst communitySpace)
    Specified by:
      `createCommunity` in interface `org.silverpeas.core.admin.service.CommunityFactory`