org.apache.avalon.cornerstone.services.connection
Interface ConnectionHandlerFactory

All Known Implementing Classes:
AbstractHandlerFactory

public interface ConnectionHandlerFactory

This interface is the way in which handlers are created.

Author:
Avalon Development Team

Method Summary
 ConnectionHandler createConnectionHandler()
          Construct an appropriate ConnectionHandler.
 void releaseConnectionHandler(ConnectionHandler connectionHandler)
          Release a previously created ConnectionHandler.
 

Method Detail

createConnectionHandler

public ConnectionHandler createConnectionHandler()
                                          throws java.lang.Exception
Construct an appropriate ConnectionHandler.

Returns:
the new ConnectionHandler
Throws:
java.lang.Exception - if an error occurs

releaseConnectionHandler

public void releaseConnectionHandler(ConnectionHandler connectionHandler)
Release a previously created ConnectionHandler. e.g. for spooling.



Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.