JBoss Remoting 3.1.0.Beta1

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.

This interface is part of the Remoting 3 public API, and is intended to be implemented by users of this API. Abstract members will generally not be added to such types so as to avoid backwards compatibility problems.


Method Summary
 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

JBoss Remoting 3.1.0.Beta1

Copyright © 2010 JBoss, a division of Red Hat, Inc.