public interface ConnectionProviderFactory
createInstance()
method with its provider context when instances of this interface
are registered on that endpoint.Modifier and Type | Method and Description |
---|---|
ConnectionProvider |
createInstance(ConnectionProviderContext context,
OptionMap optionMap)
Create a provider instance for an endpoint.
|
ConnectionProvider createInstance(ConnectionProviderContext context, OptionMap optionMap) throws IOException
context
- the provider contextoptionMap
- the options to pass to the provider factoryIOException
- if the provider cannot be createdCopyright © 2012 JBoss by Red Hat. All Rights Reserved.