org.codehaus.plexus.component.manager
Class SingletonComponentManagerFactory
java.lang.Object
org.codehaus.plexus.component.manager.SingletonComponentManagerFactory
- All Implemented Interfaces:
- ComponentManagerFactory
public class SingletonComponentManagerFactory
- extends Object
- implements ComponentManagerFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingletonComponentManagerFactory
public SingletonComponentManagerFactory()
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 interface ComponentManagerFactory
- 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 interface ComponentManagerFactory
Copyright © 2001–2014 Codehaus. All rights reserved.