public class ResourceManagementActivator extends SimpleServiceActivator<ResourceManagementServiceImpl>
Modifier and Type | Field and Description |
---|---|
(package private) static org.osgi.framework.BundleContext |
bundleContext |
serviceImpl
Constructor and Description |
---|
ResourceManagementActivator()
Creates new instance of ResourceManagementActivator
|
Modifier and Type | Method and Description |
---|---|
protected ResourceManagementServiceImpl |
createServiceImpl()
Called on bundle startup in order to create service implementation
instance.
|
static org.jitsi.service.configuration.ConfigurationService |
getConfigService()
Returns the ConfigurationService obtained from the bundle
context.
|
void |
start(org.osgi.framework.BundleContext bc)
Initialize and start the service.
|
void |
stop(org.osgi.framework.BundleContext bc)
Stops this bundle.
|
public ResourceManagementActivator()
public void start(org.osgi.framework.BundleContext bc) throws java.lang.Exception
SimpleServiceActivator
start
in interface org.osgi.framework.BundleActivator
start
in class SimpleServiceActivator<ResourceManagementServiceImpl>
bc
- the BundleContextjava.lang.Exception
- if initializing and starting this service failspublic void stop(org.osgi.framework.BundleContext bc) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class SimpleServiceActivator<ResourceManagementServiceImpl>
bc
- the osgi bundle contextjava.lang.Exception
protected ResourceManagementServiceImpl createServiceImpl()
createServiceImpl
in class SimpleServiceActivator<ResourceManagementServiceImpl>
public static org.jitsi.service.configuration.ConfigurationService getConfigService()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.