public class CertificateVerificationActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
protected static org.osgi.framework.BundleContext |
bundleContext
The bundle context for this bundle.
|
Constructor and Description |
---|
CertificateVerificationActivator() |
Modifier and Type | Method and Description |
---|---|
static AuthenticationWindowService |
getAuthenticationWindowService()
Returns service to show authentication window.
|
static VerifyCertificateDialogService |
getCertificateDialogService()
Returns the VerifyCertificateDialogService, through which we
will use to create dialogs.
|
static org.jitsi.service.configuration.ConfigurationService |
getConfigurationService()
Returns the ConfigurationService obtained from the bundle
context.
|
static CredentialsStorageService |
getCredService()
Returns the CredentialsStorageService, through which we will
access all passwords.
|
static org.jitsi.service.resources.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.
|
protected static org.osgi.framework.BundleContext bundleContext
public void start(org.osgi.framework.BundleContext bc) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
bc
- The execution context of the bundle being started.java.lang.Exception
- if the bundle is not correctly startedpublic void stop(org.osgi.framework.BundleContext bc) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
bc
- The execution context of the bundle being stopped.java.lang.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.public static org.jitsi.service.configuration.ConfigurationService getConfigurationService()
public static org.jitsi.service.resources.ResourceManagementService getResources()
public static CredentialsStorageService getCredService()
public static VerifyCertificateDialogService getCertificateDialogService()
public static AuthenticationWindowService getAuthenticationWindowService()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.