public class CallHistoryActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
static org.osgi.framework.BundleContext |
bundleContext
The bundle context.
|
Constructor and Description |
---|
CallHistoryActivator() |
Modifier and Type | Method and Description |
---|---|
static CallHistoryService |
getCallHistoryService()
Returns the instance of CallHistoryService created in this
activator.
|
static java.util.Map<java.lang.Object,ProtocolProviderFactory> |
getProtocolProviderFactories()
Returns all ProtocolProviderFactorys obtained from the bundle
context.
|
static org.jitsi.service.resources.ResourceManagementService |
getResources()
Returns the ResourceManagementService, through which we will
access all resources.
|
void |
start(org.osgi.framework.BundleContext bc)
Initialize and start call history
|
void |
stop(org.osgi.framework.BundleContext bundleContext)
Stops this bundle.
|
public static org.osgi.framework.BundleContext bundleContext
public void start(org.osgi.framework.BundleContext bc) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
bc
- the BundleContextjava.lang.Exception
- if initializing and starting call history failspublic void stop(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
bundleContext
- the BundleContextjava.lang.Exception
- if the stop operation goes wrongpublic static CallHistoryService getCallHistoryService()
public static org.jitsi.service.resources.ResourceManagementService getResources()
public static java.util.Map<java.lang.Object,ProtocolProviderFactory> getProtocolProviderFactories()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.