org.codehaus.plexus.component.manager
Class StaticComponentManager<T>
java.lang.Object
org.codehaus.plexus.component.manager.StaticComponentManager<T>
- All Implemented Interfaces:
- ComponentManager<T>
public class StaticComponentManager<T>
- extends java.lang.Object
- implements ComponentManager<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StaticComponentManager
public StaticComponentManager(MutablePlexusContainer container,
T instance,
java.lang.Class<?> role,
java.lang.String roleHint,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
getLifecycleHandler
public LifecycleHandler getLifecycleHandler()
- Specified by:
getLifecycleHandler
in interface ComponentManager<T>
getComponent
public T getComponent()
throws ComponentLifecycleException
- Specified by:
getComponent
in interface ComponentManager<T>
- Throws:
ComponentLifecycleException
dispose
public void dispose()
throws ComponentLifecycleException
- Specified by:
dispose
in interface ComponentManager<T>
- Throws:
ComponentLifecycleException
release
public void release(java.lang.Object component)
throws ComponentLifecycleException
- Specified by:
release
in interface ComponentManager<T>
- Throws:
ComponentLifecycleException
getComponentDescriptor
public ComponentDescriptor<T> getComponentDescriptor()
- Specified by:
getComponentDescriptor
in interface ComponentManager<T>
getContainer
public MutablePlexusContainer getContainer()
- Specified by:
getContainer
in interface ComponentManager<T>
start
public void start(java.lang.Object component)
throws PhaseExecutionException
- Specified by:
start
in interface ComponentManager<T>
- Throws:
PhaseExecutionException
getStartId
public long getStartId()
- Specified by:
getStartId
in interface ComponentManager<T>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2001-2009 Codehaus. All Rights Reserved.