public class Activator
extends org.osgi.service.url.AbstractURLStreamHandlerService
implements org.osgi.framework.BundleActivator
| Constructor and Description |
|---|
Activator() |
| Modifier and Type | Method and Description |
|---|---|
URLConnection |
openConnection(URL url) |
void |
start(org.osgi.framework.BundleContext bundleContext)
Registers Handler as a wrap: protocol stream handler service and as a configuration managed service if
possible.
|
void |
stop(org.osgi.framework.BundleContext bundleContext)
Performs cleanup:
* Unregister handler; * Unregister managed service; * Release bundle context. |
void |
updated(Dictionary<String,?> config) |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, parseURL, sameFile, setURL, setURL, toExternalFormopenConnection, parseURLpublic void start(org.osgi.framework.BundleContext bundleContext)
start in interface org.osgi.framework.BundleActivatorbundleContext - the bundle context.BundleActivator.start(org.osgi.framework.BundleContext)public void stop(org.osgi.framework.BundleContext bundleContext)
stop in interface org.osgi.framework.BundleActivatorBundleActivator.stop(org.osgi.framework.BundleContext)public void updated(Dictionary<String,?> config)
public URLConnection openConnection(URL url) throws IOException
openConnection in interface org.osgi.service.url.URLStreamHandlerServiceopenConnection in class org.osgi.service.url.AbstractURLStreamHandlerServiceIOExceptionCopyright © 2006–2023 OPS4J - Open Participation Software for Java. All rights reserved.