public interface ConnectionFactory<T>
| Modifier and Type | Method and Description |
|---|---|
T |
createConfiguration(org.ops4j.util.property.PropertyResolver propertyResolver)
Creates a handler specific configuration.
|
URLConnection |
createConnection(org.osgi.framework.BundleContext bundleContext,
URL url,
T config)
Creates a handler specific connection.
|
URLConnection createConnection(org.osgi.framework.BundleContext bundleContext, URL url, T config) throws IOException
bundleContext - bundle contexturl - url to be handledconfig - protocol specific configurationIOException - if a malformed url is encountered. Protocol specific.T createConfiguration(org.ops4j.util.property.PropertyResolver propertyResolver)
propertyResolver - configuration propertyResolverCopyright © 2006–2021 OPS4J - Open Participation Software for Java. All rights reserved.