Package org.ametys.core.user.population
Class PopulationConsumerExtensionPoint
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<PopulationConsumer>
-
- org.ametys.core.user.population.PopulationConsumerExtensionPoint
-
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<PopulationConsumer>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public class PopulationConsumerExtensionPoint extends AbstractThreadSafeComponentExtensionPoint<PopulationConsumer>
This class is in charge to load and initialize the variousPopulationConsumer
-
-
Field Summary
Fields Modifier and Type Field Description static String
ROLE
Avalon Role-
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
-
Constructor Summary
Constructors Constructor Description PopulationConsumerExtensionPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isInUse(String id)
Determines if a user population is in use by aPopulationConsumer
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, initializeExtensions, service
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
PopulationConsumerExtensionPoint
public PopulationConsumerExtensionPoint()
-
-
Method Detail
-
isInUse
public boolean isInUse(String id)
Determines if a user population is in use by aPopulationConsumer
- Parameters:
id
- The id of the user population to check- Returns:
- true if the user population is used by at least one of the
PopulationConsumer
-
-