public class UserSearchActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
static org.osgi.framework.BundleContext |
bundleContext
The bundle context.
|
Constructor and Description |
---|
UserSearchActivator() |
Modifier and Type | Method and Description |
---|---|
static void |
addUserSearchSupportedProviderListener(UserSearchSupportedProviderListener listener)
Adds new UserSearchSupportedProviderListener to the list of
listeners.
|
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 java.util.LinkedList<ProtocolProviderService> |
getSupportedProviders()
Returns the list of providers that support user search.
|
static void |
initUserSearchProviders()
Initializes a list of all currently providers and a list with the
providers that support user search.
|
static void |
removeUserSearchSupportedProviderListener(UserSearchSupportedProviderListener listener)
Removes UserSearchSupportedProviderListener from the list of
listeners.
|
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
public static org.osgi.framework.BundleContext bundleContext
public static void initUserSearchProviders()
public static java.util.LinkedList<ProtocolProviderService> getSupportedProviders()
public static void addUserSearchSupportedProviderListener(UserSearchSupportedProviderListener listener)
listener
- the listener to be added.public static void removeUserSearchSupportedProviderListener(UserSearchSupportedProviderListener listener)
listener
- the listener to be removed.public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
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()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.