public class ContactlistActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Constructor and Description |
---|
ContactlistActivator() |
Modifier and Type | Method and Description |
---|---|
static AccountManager |
getAccountManager()
Returns the AccountManager obtained from the bundle context.
|
static org.jitsi.service.fileaccess.FileAccessService |
getFileAccessService()
Returns the FileAccessService 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 context)
Called when this bundle is started.
|
void |
stop(org.osgi.framework.BundleContext context)
Called when this bundle is stopped so the Framework can perform the
bundle-specific activities necessary to stop the bundle.
|
public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
context
- The execution context of the bundle being started.java.lang.Exception
- Ifpublic void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
context
- The execution context of the bundle being stopped.java.lang.Exception
- If this method throws an exception, the bundle is
still marked as stopped, and the Framework will remove the bundle's
listeners, unregister all services registered by the bundle, and
release all services used by the bundle.public static org.jitsi.service.fileaccess.FileAccessService getFileAccessService()
public static org.jitsi.service.resources.ResourceManagementService getResources()
public static AccountManager getAccountManager()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.