Class PerLookupComponentManagerFactory
- java.lang.Object
-
- org.codehaus.plexus.component.manager.PerLookupComponentManagerFactory
-
- All Implemented Interfaces:
ComponentManagerFactory
public class PerLookupComponentManagerFactory extends 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, String role, String roleHint)
Creates a new component manager for the specified component descriptor.String
getId()
Gets the unique identifier of this ComponentManagerFactory.
-
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:ComponentManagerFactory
Gets the unique identifier of this ComponentManagerFactory. This id is the instantiation strategy specified in a component descriptor.- Specified by:
getId
in 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:ComponentManagerFactory
Creates a new component manager for the specified component descriptor.- Specified by:
createComponentManager
in interfaceComponentManagerFactory
- Parameters:
container
-MutablePlexusContainer
.lifecycleHandler
-LifecycleHandler
.componentDescriptor
-ComponentDescriptor
role
- The role.roleHint
- The hint for the role.- Returns:
ComponentManager
-
-