org.codehaus.plexus.component.manager
Class AbstractComponentManager<T>
java.lang.Object
org.codehaus.plexus.component.manager.AbstractComponentManager<T>
- All Implemented Interfaces:
- ComponentManager<T>
- Direct Known Subclasses:
- PerLookupComponentManager, SingletonComponentManager
public abstract class AbstractComponentManager<T>
- extends java.lang.Object
- implements ComponentManager<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractComponentManager
public AbstractComponentManager(MutablePlexusContainer container,
LifecycleHandler lifecycleHandler,
ComponentDescriptor<T> componentDescriptor)
getComponentDescriptor
public ComponentDescriptor<T> getComponentDescriptor()
- Specified by:
getComponentDescriptor
in interface ComponentManager<T>
getLifecycleHandler
public LifecycleHandler getLifecycleHandler()
- Specified by:
getLifecycleHandler
in interface ComponentManager<T>
createInstance
protected T createInstance()
throws ComponentInstantiationException,
ComponentLifecycleException
- Throws:
ComponentInstantiationException
ComponentLifecycleException
destroyInstance
protected void destroyInstance(java.lang.Object component)
throws ComponentLifecycleException
- Throws:
ComponentLifecycleException
start
public void start(java.lang.Object component)
throws PhaseExecutionException
- Specified by:
start
in interface ComponentManager<T>
- Throws:
PhaseExecutionException
getStartId
public long getStartId()
- Deprecated. for internal use only.. will be removed
- Specified by:
getStartId
in interface ComponentManager<T>
getContainer
public MutablePlexusContainer getContainer()
- Specified by:
getContainer
in interface ComponentManager<T>
Copyright © 2001-2009 Codehaus. All Rights Reserved.