|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.util.dns.DnsUtilActivator
public class DnsUtilActivator
The DNS Util activator registers the DNSSEC resolver if enabled.
| Field Summary | |
|---|---|
static boolean |
PDEFAULT_DNSSEC_RESOLVER_ENABLED
Default value of @see PNAME_DNSSEC_RESOLVER_ENABLED. |
static String |
PNAME_DNSSEC_NAMESERVERS
The name of the property that sets custom nameservers to use for all DNS lookups when DNSSEC is enabled. |
static String |
PNAME_DNSSEC_RESOLVER_ENABLED
The name of the property that enables or disables the DNSSEC resolver (instead of a normal, non-validating local resolver). |
| Constructor Summary | |
|---|---|
DnsUtilActivator()
|
|
| Method Summary | |
|---|---|
static ConfigurationService |
getConfigurationService()
Returns the ConfigurationService obtained from the bundle context. |
static NotificationService |
getNotificationService()
Returns the NotificationService obtained from the bundle context. |
static ResourceManagementService |
getResources()
Returns the service giving access to all application resources. |
static void |
refreshResolver()
Sets a DNSSEC resolver as default resolver on lookup when DNSSEC is enabled; creates a standard lookup otherwise. |
void |
start(org.osgi.framework.BundleContext context)
Calls Thread.setUncaughtExceptionHandler() |
void |
stop(org.osgi.framework.BundleContext context)
Doesn't do anything. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PNAME_DNSSEC_RESOLVER_ENABLED
public static final boolean PDEFAULT_DNSSEC_RESOLVER_ENABLED
public static final String PNAME_DNSSEC_NAMESERVERS
| Constructor Detail |
|---|
public DnsUtilActivator()
| Method Detail |
|---|
public void start(org.osgi.framework.BundleContext context)
throws Exception
start in interface org.osgi.framework.BundleActivatorcontext - The execution context of the bundle being started
(unused).
Exception - If this method throws an exception, this bundle is
marked as stopped and the Framework will remove this bundle's
listeners, unregister all services registered by this bundle, and
release all services used by this bundle.public static void refreshResolver()
public void stop(org.osgi.framework.BundleContext context)
throws Exception
stop in interface org.osgi.framework.BundleActivatorcontext - The execution context of the bundle being stopped.
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 ConfigurationService getConfigurationService()
public static NotificationService getNotificationService()
public static ResourceManagementService getResources()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||