org.apache.felix.mosgi.jmx.remotelogger
Class Logger
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.apache.felix.mosgi.jmx.remotelogger.Logger
- All Implemented Interfaces:
- Serializable, EventListener, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, LoggerMBean, BundleActivator, ServiceListener, LogListener
public class Logger
- extends javax.management.NotificationBroadcasterSupport
- implements LogListener, BundleActivator, ServiceListener, LoggerMBean, Serializable
- See Also:
- Serialized Form
Methods inherited from class javax.management.NotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Logger
public Logger()
sendOldLog
public void sendOldLog()
- Specified by:
sendOldLog
in interface LoggerMBean
setLogLvl
public void setLogLvl(Integer lvl)
- Specified by:
setLogLvl
in interface LoggerMBean
getLogLvl
public Integer getLogLvl()
- Specified by:
getLogLvl
in interface LoggerMBean
serviceChanged
public void serviceChanged(ServiceEvent serviceevent)
- Specified by:
serviceChanged
in interface ServiceListener
logged
public void logged(LogEntry log)
- Specified by:
logged
in interface LogListener
logged
public void logged(LogEntry log,
boolean oldLog)
start
public void start(BundleContext bc)
throws Exception
- Specified by:
start
in interface BundleActivator
- Throws:
Exception
stop
public void stop(BundleContext bc)
throws Exception
- Specified by:
stop
in interface BundleActivator
- Throws:
Exception
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.