Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.httputil
Class HttpUtilActivator

java.lang.Object
  extended by net.java.sip.communicator.service.httputil.HttpUtilActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

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

The http utils bundle activator. Do nothing just provide access to some services.

Author:
Damian Minkov

Constructor Summary
HttpUtilActivator()
           
 
Method Summary
static CertificateService getCertificateVerificationService()
          Return the certificate verification service impl.
static ConfigurationService getConfigurationService()
          Returns a reference to a ConfigurationService implementation currently registered in the bundle context or null if no such implementation was found.
static CredentialsStorageService getCredentialsService()
          Returns a reference to a CredentialsStorageConfigurationService implementation currently registered in the bundle context or null if no such implementation was found.
static ResourceManagementService getResources()
          Returns the service giving access to all application resources.
 void start(org.osgi.framework.BundleContext bundleContext)
          Start the bundle.
 void stop(org.osgi.framework.BundleContext bundleContext)
          Stops the bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpUtilActivator

public HttpUtilActivator()
Method Detail

getCertificateVerificationService

public static CertificateService getCertificateVerificationService()
Return the certificate verification service impl.

Returns:
the CertificateVerification service.

getCredentialsService

public static CredentialsStorageService getCredentialsService()
Returns a reference to a CredentialsStorageConfigurationService implementation currently registered in the bundle context or null if no such implementation was found.

Returns:
a currently valid implementation of the CredentialsStorageService.

start

public void start(org.osgi.framework.BundleContext bundleContext)
           throws Exception
Start the bundle.

Specified by:
start in interface org.osgi.framework.BundleActivator
Parameters:
bundleContext -
Throws:
Exception

stop

public void stop(org.osgi.framework.BundleContext bundleContext)
          throws Exception
Stops the bundle.

Specified by:
stop in interface org.osgi.framework.BundleActivator
Parameters:
bundleContext -
Throws:
Exception

getResources

public static ResourceManagementService getResources()
Returns the service giving access to all application resources.

Returns:
the service giving access to all application resources.

getConfigurationService

public static ConfigurationService getConfigurationService()
Returns a reference to a ConfigurationService implementation currently registered in the bundle context or null if no such implementation was found.

Returns:
a currently valid implementation of the ConfigurationService.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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