public class Activator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Modifier and Type | Class and Description |
---|---|
static class |
Activator.InternalThreadFactory
Internal thread factory that assigns recognizable names to the threads it creates and sets them in daemon mode.
|
Constructor and Description |
---|
Activator() |
Modifier and Type | Method and Description |
---|---|
void |
componentStarted(org.osgi.framework.BundleContext context)
Called by our
DependencyTrackerImpl when all dependencies are satisfied. |
void |
componentStopped(org.osgi.framework.BundleContext context)
Called by our
DependencyTrackerImpl when one or more dependencies are no longer satisfied. |
void |
start(org.osgi.framework.BundleContext bundleContext)
Called by OSGi framework when starting this bundle.
|
void |
stop(org.osgi.framework.BundleContext context)
Called by OSGi framework when stopping this bundle.
|
public void start(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
componentStarted(BundleContext)
will be called.start
in interface org.osgi.framework.BundleActivator
java.lang.Exception
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
java.lang.Exception
public void componentStarted(org.osgi.framework.BundleContext context) throws java.lang.Exception
DependencyTrackerImpl
when all dependencies are satisfied.java.lang.Exception
public void componentStopped(org.osgi.framework.BundleContext context) throws java.lang.Exception
DependencyTrackerImpl
when one or more dependencies are no longer satisfied.java.lang.Exception