public class SingletonComponentManagerFactory extends Object implements ComponentManagerFactory
Constructor and Description |
---|
SingletonComponentManagerFactory() |
Modifier and Type | Method and 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.
|
public String getId()
ComponentManagerFactory
getId
in interface ComponentManagerFactory
public ComponentManager<?> createComponentManager(MutablePlexusContainer container, LifecycleHandler lifecycleHandler, ComponentDescriptor componentDescriptor, String role, String roleHint)
ComponentManagerFactory
createComponentManager
in interface ComponentManagerFactory
container
- MutablePlexusContainer
.lifecycleHandler
- LifecycleHandler
.componentDescriptor
- ComponentDescriptor
role
- The role.roleHint
- The hint for the role.ComponentManager
Copyright © 2001–2019 Codehaus Plexus. All rights reserved.