public class MUCActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
(package private) static org.osgi.framework.BundleContext |
bundleContext
The bundle context.
|
Constructor and Description |
---|
MUCActivator() |
Modifier and Type | Method and Description |
---|---|
static AccountManager |
getAccountManager()
Returns the AccountManager obtained from the bundle context.
|
static AlertUIService |
getAlertUIService()
Returns the AlertUIService obtained from the bundle
context.
|
static java.util.List<ProtocolProviderService> |
getChatRoomProviders()
Returns a list of all currently registered providers.
|
static org.jitsi.service.configuration.ConfigurationService |
getConfigurationService()
Returns the ConfigurationService obtained from the bundle
context.
|
static ChatRoomContactSourceService |
getContactSource()
Returns the chat room contact source.
|
static CredentialsStorageService |
getCredentialsStorageService()
Returns a reference to a CredentialsStorageService implementation
currently registered in the bundle context or null if no such
implementation was found.
|
static GlobalDisplayDetailsService |
getGlobalDisplayDetailsService()
Returns the GlobalDisplayDetailsService obtained from the bundle
context.
|
static MessageHistoryService |
getMessageHistoryService()
Gets the service giving access to message history.
|
static MUCServiceImpl |
getMUCService()
Returns the MUC service instance.
|
static org.jitsi.service.resources.ResourceManagementService |
getResources()
Returns a reference to the ResourceManagementService implementation
currently registered in the bundle context or null if no such
implementation was found.
|
static UIService |
getUIService()
Returns the UIService obtained from the bundle
context.
|
void |
start(org.osgi.framework.BundleContext context)
Starts this bundle.
|
void |
stop(org.osgi.framework.BundleContext context) |
static org.osgi.framework.BundleContext bundleContext
public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
context
- the bundle context where we register and obtain services.java.lang.Exception
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
java.lang.Exception
public static MUCServiceImpl getMUCService()
public static ChatRoomContactSourceService getContactSource()
public static org.jitsi.service.resources.ResourceManagementService getResources()
public static org.jitsi.service.configuration.ConfigurationService getConfigurationService()
public static AccountManager getAccountManager()
public static AlertUIService getAlertUIService()
public static CredentialsStorageService getCredentialsStorageService()
public static java.util.List<ProtocolProviderService> getChatRoomProviders()
public static UIService getUIService()
public static GlobalDisplayDetailsService getGlobalDisplayDetailsService()
public static MessageHistoryService getMessageHistoryService()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.