public class PNContactSourceActivator
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 |
---|
PNContactSourceActivator() |
Modifier and Type | Method and Description |
---|---|
static PhoneNumberI18nService |
getPhoneNumberI18nService()
Returns the PhoneNumberI18nService.
|
static java.util.List<ProtocolProviderService> |
getPhoneNumberProviders()
Returns a list of all currently registered server stored contact info
providers.
|
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.
|
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 org.jitsi.service.resources.ResourceManagementService getResources()
public static java.util.List<ProtocolProviderService> getPhoneNumberProviders()
public static PhoneNumberI18nService getPhoneNumberI18nService()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.