|
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.plugin.reconnectplugin.ReconnectPluginActivator
public class ReconnectPluginActivator
Activates the reconnect plug-in.
| Field Summary | |
|---|---|
static String |
ATLEAST_ONE_CONNECTION_PROP
|
static String |
NETWORK_NOTIFICATIONS
Network notifications event type. |
| Constructor Summary | |
|---|---|
ReconnectPluginActivator()
|
|
| Method Summary | |
|---|---|
void |
configurationChanged(ChangeEvent event)
Fired when a change has occurred in the computer network configuration. |
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 NotificationService |
getNotificationService()
Returns the NotificationService obtained from the bundle context. |
static ResourceManagementService |
getResources()
Returns resource service. |
static UIService |
getUIService()
Returns the UIService obtained from the bundle context. |
void |
registrationStateChanged(RegistrationStateChangeEvent evt)
The method is called by a ProtocolProviderService
implementation whenever a change in the registration state of the
corresponding provider had occurred. |
void |
serviceChanged(org.osgi.framework.ServiceEvent serviceEvent)
When new protocol provider is registered we add needed listeners. |
void |
start(org.osgi.framework.BundleContext bundleContext)
Starts this bundle. |
void |
stop(org.osgi.framework.BundleContext bundleContext)
Stops this bundle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NETWORK_NOTIFICATIONS
public static final String ATLEAST_ONE_CONNECTION_PROP
| Constructor Detail |
|---|
public ReconnectPluginActivator()
| Method Detail |
|---|
public void start(org.osgi.framework.BundleContext bundleContext)
throws Exception
start in interface org.osgi.framework.BundleActivatorbundleContext - the BundleContext in which this bundle is
to be started
Exception - if anything goes wrong while starting this bundle
public void stop(org.osgi.framework.BundleContext bundleContext)
throws Exception
stop in interface org.osgi.framework.BundleActivatorbundleContext - the BundleContext in which this bundle is
to be stopped
Exception - if anything goes wrong while stopping this bundlepublic static UIService getUIService()
public static ResourceManagementService getResources()
public static ConfigurationService getConfigurationService()
public static NotificationService getNotificationService()
public void serviceChanged(org.osgi.framework.ServiceEvent serviceEvent)
serviceChanged in interface org.osgi.framework.ServiceListenerserviceEvent - ServiceEventpublic void configurationChanged(ChangeEvent event)
configurationChanged in interface NetworkConfigurationChangeListenerevent - the change event.public void registrationStateChanged(RegistrationStateChangeEvent evt)
ProtocolProviderService
implementation whenever a change in the registration state of the
corresponding provider had occurred.
registrationStateChanged in interface RegistrationStateChangeListenerevt - the event describing the status change.
|
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 | |||||||||