public class Activator extends Object implements org.osgi.framework.BundleActivator
| Constructor and Description |
|---|
Activator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addNetworkControl(String host,
int port,
org.apache.derby.drda.NetworkServerControl control)
Adds a network control for a server.
|
protected static Activator |
getInstance()
Singleton.
|
protected Map<String,Collection<Integer>> |
getStartedServers()
Gets the started derby servers.
|
void |
start(org.osgi.framework.BundleContext context)
Start method.
|
void |
stop(org.osgi.framework.BundleContext context)
Stop method.
|
public void start(org.osgi.framework.BundleContext context)
throws Exception
start in interface org.osgi.framework.BundleActivatorcontext - the bundle contextExceptionpublic void stop(org.osgi.framework.BundleContext context)
throws Exception
stop in interface org.osgi.framework.BundleActivatorcontext - the bundle contextExceptionprotected static Activator getInstance()
protected Map<String,Collection<Integer>> getStartedServers()
protected void addNetworkControl(String host, int port, org.apache.derby.drda.NetworkServerControl control)
host - DB hostport - DB portcontrol - Network controlCopyright © 2013–2015 Osgiliath. All rights reserved.