Package org.jboss.remoting3.spi
Interface ConnectionHandlerFactory
-
public interface ConnectionHandlerFactory
A factory which creates the connection handler for a connection. Instances of this interface are used only one time to create the single handler instance to correspond to the given local handler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectionHandler
createInstance(ConnectionHandlerContext connectionContext)
Create a connection handler instance.
-
-
-
Method Detail
-
createInstance
ConnectionHandler createInstance(ConnectionHandlerContext connectionContext)
Create a connection handler instance. The provided connection context is used to open local services.- Parameters:
connectionContext
- the local connection handler for incoming requests- Returns:
- the connection handler for outgoing requests
-
-