public class ArgDelegationActivator extends AbstractServiceDependentActivator
Constructor and Description |
---|
ArgDelegationActivator() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getDependentServiceClass()
The dependent class.
|
static UIService |
getUIService()
Returns a reference to an UIService implementation currently registered
in the bundle context or null if no such implementation was found.
|
void |
setBundleContext(org.osgi.framework.BundleContext context)
Sets the bundle context to use.
|
void |
start(java.lang.Object dependentService)
Starts the arg delegation bundle and registers the delegationPeer with
the util package URI manager.
|
void |
stop(org.osgi.framework.BundleContext bc)
Unsets the delegation peer instance that we set when we start this
bundle.
|
start
public void start(java.lang.Object dependentService)
start
in class AbstractServiceDependentActivator
dependentService
- the service this activator is waiting.java.lang.Exception
- if starting the arg delegation bundle and registering
the delegationPeer with the util package URI manager failspublic java.lang.Class<?> getDependentServiceClass()
getDependentServiceClass
in class AbstractServiceDependentActivator
public void setBundleContext(org.osgi.framework.BundleContext context)
setBundleContext
in class AbstractServiceDependentActivator
context
- a reference to the currently active bundle context.public void stop(org.osgi.framework.BundleContext bc) throws java.lang.Exception
bc
- an instance of the currently valid bundle context.java.lang.Exception
- if unsetting the delegation peer instance that we set
when we start this bundle failspublic static UIService getUIService()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.