Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.facebookaccregwizz
Class FacebookAccRegWizzActivator

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

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

Registers the FacebookAccountRegistrationWizard in the UI Service.

Author:
Dai Zhiwei

Field Summary
static org.osgi.framework.BundleContext bundleContext
          A currently valid bundle context.
 
Constructor Summary
FacebookAccRegWizzActivator()
           
 
Method Summary
static BrowserLauncherService getBrowserLauncher()
          Gets the browser launcher service.
 org.osgi.framework.BundleContext getBundleContext()
          Returns the bundleContext that we received when we were started.
static ProtocolProviderFactory getFacebookProtocolProviderFactory()
          Returns the ProtocolProviderFactory for the Facebook protocol.
static ResourceManagementService getResources()
          Returns the ResourceManagementService.
static UIService getUIService()
          Returns the UIService.
 void start(org.osgi.framework.BundleContext bc)
          Starts this bundle.
 void stop(org.osgi.framework.BundleContext bundleContext)
          Called when this bundle is stopped so the Framework can perform the bundle-specific activities necessary to stop the bundle.
 
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
A currently valid bundle context.

Constructor Detail

FacebookAccRegWizzActivator

public FacebookAccRegWizzActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext bc)
Starts this bundle.

Specified by:
start in interface org.osgi.framework.BundleActivator
Parameters:
bc - the currently valid BundleContext.

stop

public void stop(org.osgi.framework.BundleContext bundleContext)
Called when this bundle is stopped so the Framework can perform the bundle-specific activities necessary to stop the bundle.

Specified by:
stop in interface org.osgi.framework.BundleActivator
Parameters:
bundleContext - The execution context of the bundle being stopped.

getFacebookProtocolProviderFactory

public static ProtocolProviderFactory getFacebookProtocolProviderFactory()
Returns the ProtocolProviderFactory for the Facebook protocol.

Returns:
the ProtocolProviderFactory for the Facebook protocol

getBundleContext

public org.osgi.framework.BundleContext getBundleContext()
Returns the bundleContext that we received when we were started.

Returns:
a currently valid instance of a bundleContext.

getUIService

public static UIService getUIService()
Returns the UIService.

Returns:
the UIService

getBrowserLauncher

public static BrowserLauncherService getBrowserLauncher()
Gets the browser launcher service.

Returns:
the browser launcher service.

getResources

public static ResourceManagementService getResources()
Returns the ResourceManagementService.

Returns:
the ResourceManagementService.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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