Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.certificate
Class CertificateVerificationActivator

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

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

The certificate verification bundle activator.

Author:
Yana Stamcheva

Field Summary
protected static org.osgi.framework.BundleContext bundleContext
          The bundle context for this bundle.
 
Constructor Summary
CertificateVerificationActivator()
           
 
Method Summary
static ConfigurationService getConfigurationService()
          Returns the ConfigurationService obtained from the bundle context.
static CredentialsStorageService getCredService()
          Returns the CredentialsStorageService, through which we will access all passwords.
static ResourceManagementService getResources()
          Returns the ResourceManagementService, through which we will access all resources.
 void start(org.osgi.framework.BundleContext bc)
          Called when this bundle is started.
 void stop(org.osgi.framework.BundleContext bc)
          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

protected static org.osgi.framework.BundleContext bundleContext
The bundle context for this bundle.

Constructor Detail

CertificateVerificationActivator

public CertificateVerificationActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext bc)
           throws Exception
Called when this bundle is started.

Specified by:
start in interface org.osgi.framework.BundleActivator
Parameters:
bc - The execution context of the bundle being started.
Throws:
Exception - if the bundle is not correctly started

stop

public void stop(org.osgi.framework.BundleContext bc)
          throws Exception
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:
bc - The execution context of the bundle being stopped.
Throws:
Exception - If this method throws an exception, the bundle is still marked as stopped, and the Framework will remove the bundle's listeners, unregister all services registered by the bundle, and release all services used by the bundle.

getConfigurationService

public static ConfigurationService getConfigurationService()
Returns the ConfigurationService obtained from the bundle context.

Returns:
the ConfigurationService 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.

getCredService

public static CredentialsStorageService getCredService()
Returns the CredentialsStorageService, through which we will access all passwords.

Returns:
the CredentialsStorageService, through which we will access all passwords.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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