Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.simpleaccreg
Class SimpleAccountRegistrationActivator

java.lang.Object
  extended by net.java.sip.communicator.plugin.simpleaccreg.SimpleAccountRegistrationActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class SimpleAccountRegistrationActivator
extends Object
implements org.osgi.framework.BundleActivator

Author:
Yana Stamcheva

Field Summary
static org.osgi.framework.BundleContext bundleContext
          OSGi bundle context.
 
Constructor Summary
SimpleAccountRegistrationActivator()
           
 
Method Summary
static ConfigurationForm getAdvancedConfigForm()
          Returns the first available advanced configuration form.
static MetaContactListService getContactList()
          Returns the MetaContactListService obtained from the bundle context.
static ConfigurationForm getProvisioningConfigForm()
          Returns the first available provisioning configuration form.
static ResourceManagementService getResources()
          Returns the ResourceManagementService, through which we will access all resources.
static UIService getUIService()
          Returns the UIService obtained from the bundle context.
 void start(org.osgi.framework.BundleContext bc)
           
 void stop(org.osgi.framework.BundleContext bc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bundleContext

public static org.osgi.framework.BundleContext bundleContext
OSGi bundle context.

Constructor Detail

SimpleAccountRegistrationActivator

public SimpleAccountRegistrationActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext bc)
           throws Exception
Specified by:
start in interface org.osgi.framework.BundleActivator
Throws:
Exception

stop

public void stop(org.osgi.framework.BundleContext bc)
          throws Exception
Specified by:
stop in interface org.osgi.framework.BundleActivator
Throws:
Exception

getContactList

public static MetaContactListService getContactList()
Returns the MetaContactListService obtained from the bundle context.

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.

Returns:
the MetaContactListService obtained from the bundle context

getUIService

public static UIService getUIService()
Returns the UIService obtained from the bundle context.

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.

Returns:
the MetaContactListService obtained from the bundle context

getResources

public static ResourceManagementService getResources()
Returns the ResourceManagementService, through which we will access all resources.

Returns:
the ResourceManagementService, through which we will access all resources.

getAdvancedConfigForm

public static ConfigurationForm getAdvancedConfigForm()
Returns the first available advanced configuration form.

Returns:
the first available advanced configuration form

getProvisioningConfigForm

public static ConfigurationForm getProvisioningConfigForm()
Returns the first available provisioning configuration form.

Returns:
the first available provisioning configuration form

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.