|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.gui.GuiActivator
public class GuiActivator
The GUI Activator class.
| Field Summary | |
|---|---|
static org.osgi.framework.BundleContext |
bundleContext
OSGi bundle context. |
static boolean |
isStarted
Indicates if this bundle has been started. |
| Constructor Summary | |
|---|---|
GuiActivator()
|
|
| Method Summary | |
|---|---|
static AccountManager |
getAccountManager()
Returns the AccountManager obtained from the bundle context. |
static Object[] |
getAccounts(List<ProtocolProviderService> providers)
Returns the list of wrapped protocol providers. |
static AudioNotifierService |
getAudioNotifier()
Returns the AudioNotifierService obtained from the bundle context. |
static BrowserLauncherService |
getBrowserLauncher()
Returns the BrowserLauncherService obtained from the bundle context. |
static CallHistoryService |
getCallHistoryService()
Returns the CallHistoryService obtained from the bundle context. |
static ConfigurationService |
getConfigurationService()
Returns the ConfigurationService obtained from the bundle context. |
static TreeContactList |
getContactList()
Returns the component used to show the contact list. |
static MetaContactListService |
getContactListService()
Returns the MetaContactListService obtained from the bundle context. |
static List<ContactSourceService> |
getContactSources()
Returns a list of all registered contact sources. |
static DesktopService |
getDesktopService()
Returns the DesktopService obtained from the bundle context. |
static FileAccessService |
getFileAccessService()
Returns the FileAccessService obtained from the bundle context. |
static KeybindingsService |
getKeybindingsService()
Returns the KeybindingsService obtained from the bundle context. |
static MediaService |
getMediaService()
Returns an instance of the MediaService obtained from the bundle context. |
static MetaHistoryService |
getMetaHistoryService()
Returns the MetaHistoryService obtained from the bundle context. |
static List<ProtocolProviderService> |
getOpSetRegisteredProviders(Class<? extends OperationSet> opSet,
ProtocolProviderService preferredProvider,
String preferredProtocolName)
Returns a list of all registered protocol providers that could be used for the operation given by the operation set. |
static PhoneNumberI18nService |
getPhoneNumberService()
Returns the PhoneNumberI18nService obtained from the bundle context. |
static ProtocolProviderService |
getPreferredAccount()
Returns the preferred account if there's one. |
static Map<Object,ProtocolProviderFactory> |
getProtocolProviderFactories()
Returns all ProtocolProviderFactorys obtained from the bundle context. |
static ProtocolProviderFactory |
getProtocolProviderFactory(ProtocolProviderService protocolProvider)
Returns a ProtocolProviderFactory for a given protocol provider. |
static ProtocolProviderFactory |
getProtocolProviderFactory(String protocolName)
Returns a ProtocolProviderFactory for a given protocol provider. |
static ProtocolProviderService |
getRegisteredProviderForAccount(AccountID accountID)
Returns the ProtocolProviderService corresponding to the given account identifier that is registered in the given factory |
static List<ProtocolProviderService> |
getRegisteredProviders(Class<? extends OperationSet> opSetClass)
Returns a list of all currently registered providers, which support the given operationSetClass. |
static List<ProtocolProviderService> |
getRegisteredProviders(String protocolName,
Class<? extends OperationSet> operationSetClass)
Returns a list of all currently registered telephony providers for the given protocol name. |
static Map<String,ReplacementService> |
getReplacementSources()
Returns all ReplacementServices obtained from the bundle context. |
static ResourceManagementService |
getResources()
Returns the ResourceManagementService, through which we will access all resources. |
static SecurityAuthority |
getSecurityAuthority()
Returns the SecurityAuthority implementation registered to handle security authority events. |
static SecurityAuthority |
getSecurityAuthority(String protocolName)
Returns the SecurityAuthority implementation registered to handle security authority events. |
static SmiliesReplacementService |
getSmiliesReplacementSource()
Returns the SmiliesReplacementService obtained from the bundle context. |
static SystrayService |
getSystrayService()
Returns the SystrayService obtained from the bundle context. |
static UIServiceImpl |
getUIService()
Returns the current implementation of the UIService. |
static void |
setContactList(TreeContactList list)
Sets the contactList component currently used to show the contact list. |
void |
start(org.osgi.framework.BundleContext bContext)
Called when this bundle is started. |
void |
stop(org.osgi.framework.BundleContext bContext)
Called when this bundle is stopped so the Framework can perform the bundle-specific activities necessary to stop the bundle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static org.osgi.framework.BundleContext bundleContext
public static boolean isStarted
| Constructor Detail |
|---|
public GuiActivator()
| Method Detail |
|---|
public void start(org.osgi.framework.BundleContext bContext)
throws Exception
start in interface org.osgi.framework.BundleActivatorbContext - The execution context of the bundle being started.
Exception - if the bundle is not correctly started
public void stop(org.osgi.framework.BundleContext bContext)
throws Exception
stop in interface org.osgi.framework.BundleActivatorbContext - The execution context of the bundle being stopped.
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 Map<Object,ProtocolProviderFactory> getProtocolProviderFactories()
public static ProtocolProviderFactory getProtocolProviderFactory(ProtocolProviderService protocolProvider)
protocolProvider - the ProtocolProviderService, which
factory we're looking for
public static ProtocolProviderFactory getProtocolProviderFactory(String protocolName)
protocolName - the name of the protocol
public static ProtocolProviderService getRegisteredProviderForAccount(AccountID accountID)
accountID - the identifier of the account
public static List<ProtocolProviderService> getRegisteredProviders(String protocolName,
Class<? extends OperationSet> operationSetClass)
protocolName - the protocol nameoperationSetClass - the operation set class for which we're looking
for providers
public static List<ProtocolProviderService> getRegisteredProviders(Class<? extends OperationSet> opSetClass)
opSetClass - the operation set class for which we're looking
for providers
public static List<ProtocolProviderService> getOpSetRegisteredProviders(Class<? extends OperationSet> opSet,
ProtocolProviderService preferredProvider,
String preferredProtocolName)
opSet - preferredProvider - preferredProtocolName -
public static AccountManager getAccountManager()
public static ConfigurationService getConfigurationService()
public static MetaHistoryService getMetaHistoryService()
public static MetaContactListService getContactListService()
public static CallHistoryService getCallHistoryService()
public static AudioNotifierService getAudioNotifier()
public static BrowserLauncherService getBrowserLauncher()
public static UIServiceImpl getUIService()
public static SystrayService getSystrayService()
public static KeybindingsService getKeybindingsService()
public static ResourceManagementService getResources()
public static FileAccessService getFileAccessService()
public static DesktopService getDesktopService()
public static MediaService getMediaService()
public static List<ContactSourceService> getContactSources()
public static Map<String,ReplacementService> getReplacementSources()
public static SmiliesReplacementService getSmiliesReplacementSource()
public static PhoneNumberI18nService getPhoneNumberService()
public static SecurityAuthority getSecurityAuthority()
public static SecurityAuthority getSecurityAuthority(String protocolName)
protocolName - protocol name
public static void setContactList(TreeContactList list)
list - the contact list object to setpublic static TreeContactList getContactList()
public static Object[] getAccounts(List<ProtocolProviderService> providers)
providers - the list of protocol providers
public static ProtocolProviderService getPreferredAccount()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||