|
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.service.protocol.ProtocolProviderActivator
public class ProtocolProviderActivator
Implements BundleActivator for the purposes of
protocol.jar/protocol.provider.manifest.mf and in order to register and start
services independent of the specifics of a particular protocol.
| Constructor Summary | |
|---|---|
ProtocolProviderActivator()
|
|
| Method Summary | |
|---|---|
(package private) static ConfigurationService |
getConfigurationService()
Gets the ConfigurationService to be used by the classes in
the bundle represented by ProtocolProviderActivator. |
static ProtocolProviderFactory |
getProtocolProviderFactory(String protocolName)
Returns a ProtocolProviderFactory for a given protocol provider. |
static ResourceManagementService |
getResourceService()
Gets the ResourceManagementService to be used by the classes
in the bundle represented by ProtocolProviderActivator. |
void |
start(org.osgi.framework.BundleContext bundleContext)
Registers a new AccountManagerImpl instance as an
AccountManager service and starts a new
SingleCallInProgressPolicy instance to ensure that only one
of the Calls accessible in the BundleContext
in which this activator is to execute will be in progress and the others
will automatically be put on hold. |
void |
stop(org.osgi.framework.BundleContext bundleContext)
Unregisters the AccountManagerImpl instance registered as an
AccountManager service in start(BundleContext) and
stops the SingleCallInProgressPolicy started there as well. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProtocolProviderActivator()
| Method Detail |
|---|
static ConfigurationService getConfigurationService()
ConfigurationService to be used by the classes in
the bundle represented by ProtocolProviderActivator.
ConfigurationService to be used by the classes
in the bundle represented by
ProtocolProviderActivatorpublic static ResourceManagementService getResourceService()
ResourceManagementService to be used by the classes
in the bundle represented by ProtocolProviderActivator.
ResourceManagementService to be used by the
classes in the bundle represented by
ProtocolProviderActivatorpublic static ProtocolProviderFactory getProtocolProviderFactory(String protocolName)
protocolName - the name of the protocol, which factory we're
looking for
public void start(org.osgi.framework.BundleContext bundleContext)
AccountManagerImpl instance as an
AccountManager service and starts a new
SingleCallInProgressPolicy instance to ensure that only one
of the Calls accessible in the BundleContext
in which this activator is to execute will be in progress and the others
will automatically be put on hold.
start in interface org.osgi.framework.BundleActivatorbundleContext - the BundleContext in which the bundle
activation represented by this BundleActivator
executespublic void stop(org.osgi.framework.BundleContext bundleContext)
AccountManagerImpl instance registered as an
AccountManager service in start(BundleContext) and
stops the SingleCallInProgressPolicy started there as well.
stop in interface org.osgi.framework.BundleActivatorbundleContext - the BundleContext in which the bundle
activation represented by this BundleActivator
executes
|
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 | |||||||||