public class NetaddrActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Constructor and Description |
---|
NetaddrActivator() |
Modifier and Type | Method and Description |
---|---|
(package private) static org.osgi.framework.BundleContext |
getBundleContext()
Returns a reference to the bundle context that we were started with.
|
static org.jitsi.service.configuration.ConfigurationService |
getConfigurationService()
Returns a reference to a ConfigurationService implementation currently
registered in the bundle context or null if no such implementation was
found.
|
static org.jitsi.service.packetlogging.PacketLoggingService |
getPacketLogging()
Returns a reference to the PacketLoggingService implementation
currently registered in the bundle context or null if no such
implementation was found.
|
void |
start(org.osgi.framework.BundleContext bundleContext)
Creates a NetworkAddressManager, starts it, and registers it as a
NetworkAddressManagerService.
|
void |
stop(org.osgi.framework.BundleContext bundleContext)
Stops the Network Address Manager bundle
|
public void start(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
bundleContext
- OSGI bundle contextjava.lang.Exception
- if starting the NetworkAddressManagerFails.public static org.jitsi.service.configuration.ConfigurationService getConfigurationService()
public static org.jitsi.service.packetlogging.PacketLoggingService getPacketLogging()
public void stop(org.osgi.framework.BundleContext bundleContext)
stop
in interface org.osgi.framework.BundleActivator
bundleContext
- the OSGI bundle contextstatic org.osgi.framework.BundleContext getBundleContext()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.