Class SingletonComponentManagerFactory
- java.lang.Object
-
- org.codehaus.plexus.component.manager.SingletonComponentManagerFactory
-
- All Implemented Interfaces:
ComponentManagerFactory
public class SingletonComponentManagerFactory extends Object implements ComponentManagerFactory
-
-
Constructor Summary
Constructors Constructor Description SingletonComponentManagerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComponentManager<?>createComponentManager(MutablePlexusContainer container, LifecycleHandler lifecycleHandler, ComponentDescriptor componentDescriptor, String role, String roleHint)Creates a new component manager for the specified component descriptor.StringgetId()Gets the unique identifier of this ComponentManagerFactory.
-
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:ComponentManagerFactoryGets the unique identifier of this ComponentManagerFactory. This id is the instantiation strategy specified in a component descriptor.- Specified by:
getIdin interfaceComponentManagerFactory- Returns:
- the unique identifier and instantiation strategy name
-
createComponentManager
public ComponentManager<?> createComponentManager(MutablePlexusContainer container, LifecycleHandler lifecycleHandler, ComponentDescriptor componentDescriptor, String role, String roleHint)
Description copied from interface:ComponentManagerFactoryCreates a new component manager for the specified component descriptor.- Specified by:
createComponentManagerin interfaceComponentManagerFactory- Parameters:
container-MutablePlexusContainer.lifecycleHandler-LifecycleHandler.componentDescriptor-ComponentDescriptorrole- The role.roleHint- The hint for the role.- Returns:
ComponentManager
-
-