Syslog White Paper FAQ Examples JavaDoc Classloader
Protomatter Software v1.1.7

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

Field Summary
static java.lang.String OBJECT_NAME
           
 
Fields inherited from interface org.jboss.util.ServiceMBean
STARTED, STARTING, states, STOPPED, STOPPING
 
Constructor Summary
Syslog()
           
 
Method Summary
 void destroy()
           
 void flush()
          Flush output for all loggers.
 java.lang.String getName()
           
 int getState()
           
 java.lang.String getStateString()
           
 void init()
           
 void postDeregister()
           
 void postRegister(java.lang.Boolean b)
           
 void preDeregister()
           
 javax.management.ObjectName preRegister(javax.management.MBeanServer server, javax.management.ObjectName objectName)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OBJECT_NAME

public static final java.lang.String OBJECT_NAME
Constructor Detail

Syslog

public Syslog()
Method Detail

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

Protomatter Software v1.1.7
Copyright 1998-2002 Nate Sammons

Protomatter Software v1.1.7 http://protomatter.sourceforge.net/1.1.7