|
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.impl.packetlogging.PacketLoggingActivator
public class PacketLoggingActivator
Creates and registers Packet Logging service into OSGi. Also handles saving and retrieving configuration options for the service and is used from the configuration form.
| Field Summary | |
|---|---|
(package private) static String |
LOGGING_DIR_NAME
The name of the log dir. |
| Constructor Summary | |
|---|---|
PacketLoggingActivator()
|
|
| Method Summary | |
|---|---|
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 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final String LOGGING_DIR_NAME
| Constructor Detail |
|---|
public PacketLoggingActivator()
| Method Detail |
|---|
public void start(org.osgi.framework.BundleContext bundleContext)
throws Exception
start in interface org.osgi.framework.BundleActivatorbundleContext - OSGI bundle context
Exception - if starting the PacketLoggingServiceImpl.
public void stop(org.osgi.framework.BundleContext bundleContext)
throws Exception
stop in interface org.osgi.framework.BundleActivatorbundleContext - the OSGI bundle context
Exceptionpublic static ConfigurationService getConfigurationService()
public static FileAccessService getFileAccessService()
|
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 | |||||||||