|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.cornerstone.blocks.connection.AbstractConnectionManager org.apache.avalon.cornerstone.blocks.connection.DefaultConnectionManager
This is the service through which ConnectionManagement occurs.
Field Summary |
Fields inherited from class org.apache.avalon.cornerstone.blocks.connection.AbstractConnectionManager |
m_threadManager, monitor |
Fields inherited from interface org.apache.avalon.cornerstone.services.connection.ConnectionManager |
ROLE |
Constructor Summary | |
DefaultConnectionManager()
|
Method Summary | |
void |
enableLogging(Logger logger)
Provide component with a logger. |
void |
service(ServiceManager serviceManager)
Pass the ServiceManager to the Serviceable . |
Methods inherited from class org.apache.avalon.cornerstone.blocks.connection.AbstractConnectionManager |
connect, connect, disconnect, disconnect, dispose |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.avalon.cornerstone.services.connection.ConnectionManager |
connect, connect, disconnect, disconnect |
Methods inherited from interface org.apache.avalon.framework.activity.Disposable |
dispose |
Constructor Detail |
public DefaultConnectionManager()
Method Detail |
public void enableLogging(Logger logger)
LogEnabled
enableLogging
in interface LogEnabled
logger
- the logger. Must not be null
.public void service(ServiceManager serviceManager) throws ServiceException
Serviceable
ServiceManager
to the Serviceable
.
The Serviceable
implementation should use the specified
ServiceManager
to acquire the components it needs for
execution.
service
in interface Serviceable
serviceManager
- The ServiceManager
which this
Serviceable
uses. Must not be null
.
ServiceException
- if an error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |