public class SimpleAccountRegistrationActivator extends AbstractServiceDependentActivator implements org.osgi.framework.ServiceListener
Modifier and Type | Field and Description |
---|---|
static org.osgi.framework.BundleContext |
bundleContext
OSGi bundle context.
|
Constructor and Description |
---|
SimpleAccountRegistrationActivator() |
Modifier and Type | Method and Description |
---|---|
static ConfigurationForm |
getAdvancedConfigForm()
Returns the first available advanced configuration form.
|
static org.jitsi.service.configuration.ConfigurationService |
getConfigService()
Returns a reference to a ConfigurationService implementation currently
registered in the bundle context or null if no such implementation was
found.
|
static MetaContactListService |
getContactList()
Returns the MetaContactListService obtained from the bundle
context.
|
java.lang.Class<?> |
getDependentServiceClass()
The dependent class.
|
static ConfigurationForm |
getProvisioningConfigForm()
Returns the first available provisioning configuration form.
|
static org.jitsi.service.resources.ResourceManagementService |
getResources()
Returns the ResourceManagementService, through which we will
access all resources.
|
static UIService |
getUIService()
Returns the UIService obtained from the bundle
context.
|
void |
serviceChanged(org.osgi.framework.ServiceEvent event)
Handles registration of a new account wizard.
|
void |
setBundleContext(org.osgi.framework.BundleContext context)
Sets the bundle context to use.
|
void |
start(java.lang.Object dependentService)
The dependent service is available and the bundle will start.
|
void |
stop(org.osgi.framework.BundleContext bc) |
start
public static org.osgi.framework.BundleContext bundleContext
public void start(java.lang.Object dependentService)
AbstractServiceDependentActivator
start
in class AbstractServiceDependentActivator
dependentService
- the service this activator is waiting.public java.lang.Class<?> getDependentServiceClass()
getDependentServiceClass
in class AbstractServiceDependentActivator
public void setBundleContext(org.osgi.framework.BundleContext context)
setBundleContext
in class AbstractServiceDependentActivator
context
- a reference to the currently active bundle context.public void serviceChanged(org.osgi.framework.ServiceEvent event)
serviceChanged
in interface org.osgi.framework.ServiceListener
public void stop(org.osgi.framework.BundleContext bc) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
java.lang.Exception
public static MetaContactListService getContactList()
Note: Because this plug-in is meant to be initially displayed (if necessary) and not get used afterwards, the method doesn't cache the return value. Make sure you call it as little as possible if execution speed is under consideration.
public static UIService getUIService()
Note: Because this plug-in is meant to be initially displayed (if necessary) and not get used afterwards, the method doesn't cache the return value. Make sure you call it as little as possible if execution speed is under consideration.
public static org.jitsi.service.resources.ResourceManagementService getResources()
public static ConfigurationForm getAdvancedConfigForm()
public static ConfigurationForm getProvisioningConfigForm()
public static org.jitsi.service.configuration.ConfigurationService getConfigService()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.