public class LdapActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Constructor and Description |
---|
LdapActivator() |
Modifier and Type | Method and Description |
---|---|
static LdapService |
getLdapService()
Get LDAP service.
|
static PhoneNumberI18nService |
getPhoneNumberI18nService()
Returns the PhoneNumberI18nService.
|
static org.jitsi.service.resources.ResourceManagementService |
getResourceService()
Returns a reference to a ResourceManagementService implementation
currently registered in the bundle context or null if no such
implementation was found.
|
static ContactSourceService |
registerContactSource(LdapDirectory ldapDir)
Enable contact source service with specified LDAP directory.
|
void |
start(org.osgi.framework.BundleContext bundleContext)
Starts the LDAP service
|
void |
stop(org.osgi.framework.BundleContext bundleContext)
Stops the LDAP service
|
static void |
unregisterContactSource(LdapDirectory ldapDir)
Disable contact source service with specified LDAP directory.
|
public static LdapService getLdapService()
public void start(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
bundleContext
- BundleContextjava.lang.Exception
- if something goes wrong when starting servicepublic void stop(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
bundleContext
- BundleContextjava.lang.Exception
- if something goes wrong when stopping servicepublic static org.jitsi.service.resources.ResourceManagementService getResourceService()
public static ContactSourceService registerContactSource(LdapDirectory ldapDir)
ldapDir
- LDAP directorypublic static void unregisterContactSource(LdapDirectory ldapDir)
ldapDir
- LDAP directorypublic static PhoneNumberI18nService getPhoneNumberI18nService()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.