Class PerLookupComponentManagerFactory
- java.lang.Object
-
- org.codehaus.plexus.component.manager.PerLookupComponentManagerFactory
-
- All Implemented Interfaces:
ComponentManagerFactory
public class PerLookupComponentManagerFactory extends java.lang.Object implements ComponentManagerFactory
-
-
Constructor Summary
Constructors Constructor Description PerLookupComponentManagerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComponentManager<?>createComponentManager(MutablePlexusContainer container, LifecycleHandler lifecycleHandler, ComponentDescriptor componentDescriptor, java.lang.String role, java.lang.String roleHint)Creates a new component manager for the specified component descriptor.java.lang.StringgetId()Gets the unique identifier of this ComponentManagerFactory.
-
-
-
Method Detail
-
getId
public java.lang.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, java.lang.String role, java.lang.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
-
-