JBoss Remoting 3 3.2.13.GA-redhat-1

org.jboss.remoting3.spi
Interface ConnectionProviderFactory

All Known Implementing Classes:
RemoteConnectionProviderFactory

public interface ConnectionProviderFactory

A connection provider factory. Implementations of this interface provide a connection facility for a URI scheme. An endpoint will call the createInstance() method with its provider context when instances of this interface are registered on that endpoint.


Method Summary
 ConnectionProvider createInstance(ConnectionProviderContext context, org.xnio.OptionMap optionMap)
          Create a provider instance for an endpoint.
 

Method Detail

createInstance

ConnectionProvider createInstance(ConnectionProviderContext context,
                                  org.xnio.OptionMap optionMap)
                                  throws IOException
Create a provider instance for an endpoint.

Parameters:
context - the provider context
optionMap - the options to pass to the provider factory
Returns:
the provider
Throws:
IOException - if the provider cannot be created

JBoss Remoting 3 3.2.13.GA-redhat-1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.