org.codehaus.spice.netserve.connection.impl
Class DNAAcceptorManager
java.lang.Object
org.codehaus.spice.netserve.connection.impl.DefaultAcceptorManager
org.codehaus.spice.netserve.connection.impl.DNAAcceptorManager
- All Implemented Interfaces:
- org.codehaus.dna.Active, org.codehaus.dna.Configurable, org.codehaus.dna.LogEnabled, SocketAcceptorManager
- public class DNAAcceptorManager
- extends DefaultAcceptorManager
- implements org.codehaus.dna.LogEnabled, org.codehaus.dna.Configurable, org.codehaus.dna.Active
A DNA compliant implementation of AcceptorManager.
The component takes a single configuration parameter;
"shutdownTimeout". This specifies the amount of time to wait
while waiting for connections to shutdown gracefully. A
sample configuration follows;
<!-- wait 200ms for connections to gracefully shutdown -->
<shutdownTimeout>200</shutdownTimeout>
- Version:
- $Revision: 1.3 $ $Date: 2004/04/25 11:14:17 $
- Author:
- Peter Donald
- See Also:
DefaultAcceptorManager
Method Summary |
void |
configure(org.codehaus.dna.Configuration configuration)
|
void |
dispose()
Shutdown all connections. |
void |
enableLogging(org.codehaus.dna.Logger logger)
|
void |
initialize()
Nothing to do to initial AcceptorManager. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DNAAcceptorManager
public DNAAcceptorManager()
enableLogging
public void enableLogging(org.codehaus.dna.Logger logger)
- Specified by:
enableLogging
in interface org.codehaus.dna.LogEnabled
configure
public void configure(org.codehaus.dna.Configuration configuration)
throws org.codehaus.dna.ConfigurationException
- Specified by:
configure
in interface org.codehaus.dna.Configurable
- Throws:
org.codehaus.dna.ConfigurationException
initialize
public void initialize()
throws Exception
- Nothing to do to initial AcceptorManager.
- Specified by:
initialize
in interface org.codehaus.dna.Active
- Throws:
Exception
dispose
public void dispose()
- Shutdown all connections.
- Specified by:
dispose
in interface org.codehaus.dna.Active
Copyright © 1999-2004 Codehaus. All Rights Reserved.