public final class PerThreadComponentHandler extends AbstractComponentHandler
| Modifier and Type | Field and Description |
|---|---|
private static java.util.List |
m_instances |
private static java.lang.ThreadLocal |
m_slot |
m_disposed, m_factory, m_logger, m_loggerManager, m_prepared| Constructor and Description |
|---|
PerThreadComponentHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDispose()
Dispose handler specific resources.
|
protected java.lang.Object |
doGet()
Get a reference of the desired Component
|
void |
initialize() |
dispose, disposeComponent, doPrepare, doPut, get, getComponentClass, newComponent, prepareHandler, put, service, toStringaddChildInstrumentable, addInstrument, getChildInstrumentables, getInstrumentableName, getInstruments, setInstrumentableNameprivate static java.lang.ThreadLocal m_slot
private static java.util.List m_instances
public void initialize()
throws java.lang.Exception
initialize in interface org.apache.avalon.framework.activity.Initializableinitialize in class AbstractComponentHandlerjava.lang.Exceptionprotected java.lang.Object doGet()
throws java.lang.Exception
doGet in class AbstractComponentHandlerjava.lang.Exception - if unable to aquire serviceprotected void doDispose()
AbstractComponentHandlerdoDispose in class AbstractComponentHandler