public abstract class AbstractServiceDependentActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Constructor and Description |
---|
AbstractServiceDependentActivator() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Class<?> |
getDependentServiceClass()
The class of the service which this activator is interested in.
|
abstract void |
setBundleContext(org.osgi.framework.BundleContext context)
Setting context to the activator, as soon as we have one.
|
void |
start(org.osgi.framework.BundleContext bundleContext)
Starts the bundle.
|
abstract void |
start(java.lang.Object dependentService)
The dependent service is available and the bundle will start.
|
public void start(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
bundleContext
- the currently valid BundleContext.java.lang.Exception
public abstract void start(java.lang.Object dependentService)
dependentService
- the service this activator is waiting.public abstract java.lang.Class<?> getDependentServiceClass()
public abstract void setBundleContext(org.osgi.framework.BundleContext context)
context
- the context to set.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.