|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.component.manager.AbstractComponentManager
org.codehaus.plexus.component.manager.ClassicSingletonComponentManager
This ensures only a single manager of a a component exists. Once no more connections for this component exists it is disposed.
Field Summary | |
private java.lang.Object |
singleton
|
Fields inherited from class org.codehaus.plexus.component.manager.AbstractComponentManager |
|
Constructor Summary | |
ClassicSingletonComponentManager()
|
Method Summary | |
void |
dispose()
|
java.lang.Object |
getComponent()
|
void |
release(java.lang.Object component)
|
Methods inherited from class org.codehaus.plexus.component.manager.AbstractComponentManager |
connected, copy, createComponentInstance, decrementConnectionCount, endComponentLifecycle, getClassLoader, getComponentDescriptor, getConnections, getId, getLifecycleHandler, getLogger, incrementConnectionCount, initialize, resume, setup, startComponentLifecycle, suspend |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.Object singleton
Constructor Detail |
public ClassicSingletonComponentManager()
Method Detail |
public void release(java.lang.Object component)
ComponentManager.release(java.lang.Object)
public void dispose()
public java.lang.Object getComponent() throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |