public class LoggingUtilsActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
(package private) static org.osgi.framework.BundleContext |
bundleContext
The OSGI bundle context.
|
protected static java.lang.String |
DISABLED_PROP
Indicates if the logging configuration form should be disabled, i.e.
|
Constructor and Description |
---|
LoggingUtilsActivator() |
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.
|
static NotificationService |
getNotificationService()
Returns the NotificationService obtained from the bundle context.
|
static org.jitsi.service.packetlogging.PacketLoggingService |
getPacketLoggingService()
Returns a reference to a PacketLoggingService implementation currently
registered in the bundle context or null if no such implementation was
found.
|
static org.jitsi.service.resources.ResourceManagementService |
getResourceService()
Returns the ResourceManagementService obtained from the
bundle context.
|
void |
start(org.osgi.framework.BundleContext bundleContext)
Creates and register logging configuration.
|
void |
stop(org.osgi.framework.BundleContext bundleContext)
Stops the Logging utils bundle
|
static org.osgi.framework.BundleContext bundleContext
protected static final java.lang.String DISABLED_PROP
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 error creating configuration.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.resources.ResourceManagementService getResourceService()
public static org.jitsi.service.configuration.ConfigurationService getConfigurationService()
public static org.jitsi.service.packetlogging.PacketLoggingService getPacketLoggingService()
public static org.jitsi.service.fileaccess.FileAccessService getFileAccessService()
public static NotificationService getNotificationService()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.