public class PacketLoggingActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.String |
LOGGING_DIR_NAME
The name of the log dir.
|
Constructor and Description |
---|
PacketLoggingActivator() |
Modifier and Type | Method and Description |
---|---|
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.fileaccess.FileAccessService |
getFileAccessService()
Returns the FileAccessService obtained from the bundle context.
|
void |
start(org.osgi.framework.BundleContext bundleContext)
Creates a PacketLoggingServiceImpl, starts it, and registers it as a
PacketLoggingService.
|
void |
stop(org.osgi.framework.BundleContext bundleContext)
Stops the Packet Logging bundle
|
static final java.lang.String LOGGING_DIR_NAME
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 PacketLoggingServiceImpl.public void stop(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
bundleContext
- the OSGI bundle contextjava.lang.Exception
public static org.jitsi.service.configuration.ConfigurationService getConfigurationService()
public static org.jitsi.service.fileaccess.FileAccessService getFileAccessService()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.