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.
createInstance
ConnectionProvider createInstance(ConnectionProviderContext context,
org.xnio.OptionMap optionMap)
throws IOException
- Create a provider instance for an endpoint.
- Parameters:
context
- the provider contextoptionMap
- the options to pass to the provider factory
- Returns:
- the provider
- Throws:
IOException
- if the provider cannot be created
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.