|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.excalibur.instrument.AbstractLogEnabledInstrumentable
org.apache.avalon.fortress.impl.handler.AbstractComponentHandler
org.apache.avalon.fortress.impl.handler.FactoryComponentHandler
public final class FactoryComponentHandler
The FactoryComponentHandler to make sure components are initialized and destroyed correctly.
Field Summary |
---|
Fields inherited from class org.apache.avalon.fortress.impl.handler.AbstractComponentHandler |
---|
m_disposed, m_factory, m_logger, m_loggerManager, m_prepared |
Fields inherited from interface org.apache.excalibur.instrument.Instrumentable |
---|
EMPTY_INSTRUMENT_ARRAY, EMPTY_INSTRUMENTABLE_ARRAY |
Constructor Summary | |
---|---|
FactoryComponentHandler()
|
Method Summary | |
---|---|
protected java.lang.Object |
doGet()
Get a reference of the desired Component |
protected void |
doPut(java.lang.Object component)
Return a reference of the desired Component |
Methods inherited from class org.apache.avalon.fortress.impl.handler.AbstractComponentHandler |
---|
dispose, disposeComponent, doDispose, doPrepare, get, getComponentClass, initialize, newComponent, prepareHandler, put, service, toString |
Methods inherited from class org.apache.excalibur.instrument.AbstractLogEnabledInstrumentable |
---|
addChildInstrumentable, addInstrument, getChildInstrumentables, getInstrumentableName, getInstruments, setInstrumentableName |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FactoryComponentHandler()
Method Detail |
---|
protected java.lang.Object doGet() throws java.lang.Exception
doGet
in class AbstractComponentHandler
java.lang.Exception
- if arros occursprotected void doPut(java.lang.Object component)
doPut
in class AbstractComponentHandler
component
- the compoent to return to the handler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |