|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.framework.logger.AbstractLogEnabled org.apache.avalon.cornerstone.services.connection.AbstractHandlerFactory org.apache.avalon.cornerstone.services.connection.DefaultHandlerFactory
Default Hnalder factory that creates instances via reflection.
Field Summary | |
protected java.lang.Class |
m_handlerClass
|
Constructor Summary | |
DefaultHandlerFactory(java.lang.Class handlerClass)
|
Method Summary | |
protected ConnectionHandler |
newHandler()
Overide this method to create actual instance of connection handler. |
void |
releaseConnectionHandler(ConnectionHandler connectionHandler)
Release a previously created ConnectionHandler. |
Methods inherited from class org.apache.avalon.cornerstone.services.connection.AbstractHandlerFactory |
configure, contextualize, createConnectionHandler, service |
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, toString, wait, wait, wait |
Field Detail |
protected java.lang.Class m_handlerClass
Constructor Detail |
public DefaultHandlerFactory(java.lang.Class handlerClass)
Method Detail |
protected ConnectionHandler newHandler() throws java.lang.Exception
newHandler
in class AbstractHandlerFactory
java.lang.Exception
- if an error occurspublic void releaseConnectionHandler(ConnectionHandler connectionHandler)
releaseConnectionHandler
in interface ConnectionHandlerFactory
releaseConnectionHandler
in class AbstractHandlerFactory
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |