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

    All Methods Instance Methods Concrete Methods
    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 Detail

    - #### CommunityInstanceFactory

          public CommunityInstanceFactory()

  - ### Method Detail

    - #### 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`