public class Activator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
| Modifier and Type | Class and Description |
|---|---|
private static class |
Activator.StartShellJob |
| Modifier and Type | Field and Description |
|---|---|
private org.osgi.util.tracker.ServiceTracker |
commandProcessorTracker |
private org.osgi.framework.BundleContext |
context |
private java.util.concurrent.ExecutorService |
executor |
private java.util.Set<org.osgi.framework.ServiceRegistration> |
regs |
private Activator.StartShellJob |
shellJob |
| Constructor and Description |
|---|
Activator() |
| Modifier and Type | Method and Description |
|---|---|
private org.osgi.util.tracker.ServiceTracker |
createCommandProcessorTracker() |
void |
start(org.osgi.framework.BundleContext context) |
private void |
startShell(org.osgi.framework.BundleContext context,
org.apache.felix.service.command.CommandProcessor processor) |
void |
stop(org.osgi.framework.BundleContext context) |
private void |
stopShell() |
private org.osgi.framework.BundleContext context
private org.osgi.util.tracker.ServiceTracker commandProcessorTracker
private java.util.Set<org.osgi.framework.ServiceRegistration> regs
private volatile java.util.concurrent.ExecutorService executor
private volatile Activator.StartShellJob shellJob
public void start(org.osgi.framework.BundleContext context)
throws java.lang.Exception
start in interface org.osgi.framework.BundleActivatorjava.lang.Exceptionpublic void stop(org.osgi.framework.BundleContext context)
throws java.lang.Exception
stop in interface org.osgi.framework.BundleActivatorjava.lang.Exceptionprivate org.osgi.util.tracker.ServiceTracker createCommandProcessorTracker()
private void startShell(org.osgi.framework.BundleContext context,
org.apache.felix.service.command.CommandProcessor processor)
private void stopShell()