Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.credentialsstorage
Class CredentialsStorageActivator

java.lang.Object
  extended by net.java.sip.communicator.impl.credentialsstorage.CredentialsStorageActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

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

Activator for the CredentialsStorageService.

Author:
Dmitri Melnikov

Constructor Summary
CredentialsStorageActivator()
           
 
Method Summary
static Object getService(org.osgi.framework.ServiceReference serviceReference)
          Returns the service corresponding to the ServiceReference.
 void start(org.osgi.framework.BundleContext bundleContext)
          Starts the credentials storage service
 void stop(org.osgi.framework.BundleContext bundleContext)
          Unregisters the credentials storage service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CredentialsStorageActivator

public CredentialsStorageActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext bundleContext)
           throws Exception
Starts the credentials storage service

Specified by:
start in interface org.osgi.framework.BundleActivator
Parameters:
bundleContext - the BundleContext as provided from the OSGi framework
Throws:
Exception - if anything goes wrong

stop

public void stop(org.osgi.framework.BundleContext bundleContext)
          throws Exception
Unregisters the credentials storage service.

Specified by:
stop in interface org.osgi.framework.BundleActivator
Parameters:
bundleContext - BundleContext
Throws:
Exception - if anything goes wrong

getService

public static Object getService(org.osgi.framework.ServiceReference serviceReference)
Returns the service corresponding to the ServiceReference.

Parameters:
serviceReference - service reference
Returns:
service

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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