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,
org.xnio.OptionMap optionMap)
Create a provider instance for an endpoint.
|
ConnectionProvider createInstance(ConnectionProviderContext context, org.xnio.OptionMap optionMap) throws IOException
context
- the provider contextoptionMap
- the options to pass to the provider factoryIOException
- if the provider cannot be createdCopyright © 2019 JBoss, a division of Red Hat, Inc.. All rights reserved.