com.protomatter.syslog.jmx
Class Syslog
java.lang.Object
|
+--com.protomatter.syslog.jmx.Syslog
- All Implemented Interfaces:
- javax.management.MBeanRegistration, org.jboss.util.Service, org.jboss.util.ServiceMBean, SyslogMBean
- public class Syslog
- extends java.lang.Object
- implements SyslogMBean, javax.management.MBeanRegistration
Syslog MBean implementation.
- See Also:
SyslogMBean
Fields inherited from interface org.jboss.util.ServiceMBean |
STARTED, STARTING, states, STOPPED, STOPPING |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OBJECT_NAME
public static final java.lang.String OBJECT_NAME
Syslog
public Syslog()
postDeregister
public void postDeregister()
- Specified by:
postDeregister
in interface javax.management.MBeanRegistration
postRegister
public void postRegister(java.lang.Boolean b)
- Specified by:
postRegister
in interface javax.management.MBeanRegistration
preDeregister
public void preDeregister()
throws java.lang.Exception
- Specified by:
preDeregister
in interface javax.management.MBeanRegistration
preRegister
public javax.management.ObjectName preRegister(javax.management.MBeanServer server,
javax.management.ObjectName objectName)
throws java.lang.Exception
- Specified by:
preRegister
in interface javax.management.MBeanRegistration
getName
public java.lang.String getName()
- Specified by:
getName
in interface org.jboss.util.ServiceMBean
getState
public int getState()
- Specified by:
getState
in interface org.jboss.util.ServiceMBean
getStateString
public java.lang.String getStateString()
- Specified by:
getStateString
in interface org.jboss.util.ServiceMBean
destroy
public void destroy()
- Specified by:
destroy
in interface org.jboss.util.Service
init
public void init()
throws java.lang.Exception
- Specified by:
init
in interface org.jboss.util.Service
start
public void start()
throws java.lang.Exception
- Specified by:
start
in interface org.jboss.util.Service
stop
public void stop()
- Specified by:
stop
in interface org.jboss.util.Service
flush
public void flush()
- Description copied from interface:
SyslogMBean
- Flush output for all loggers. Calls
Syslog.flush().
- Specified by:
flush
in interface SyslogMBean