org.jboss.logging
Class ConsoleLogging

java.lang.Object
  |
  +--org.jboss.logging.ConsoleLogging
All Implemented Interfaces:
ConsoleLoggingMBean, java.util.EventListener, javax.management.MBeanRegistration, javax.management.NotificationListener

public class ConsoleLogging
extends java.lang.Object
implements ConsoleLoggingMBean, javax.management.NotificationListener, javax.management.MBeanRegistration

Version:
$Revision: 1.7 $
Author:
Rickard Öberg (rickard.oberg@telkel.com)
See Also:

Fields inherited from interface org.jboss.logging.ConsoleLoggingMBean
OBJECT_NAME
 
Constructor Summary
ConsoleLogging()
           
ConsoleLogging(java.lang.String filter, java.lang.String format)
           
 
Method Summary
 java.lang.String getFormat()
           
 void handleNotification(javax.management.Notification n, java.lang.Object handback)
           
 void postDeregister()
           
 void postRegister(java.lang.Boolean registrationDone)
           
 void preDeregister()
           
 javax.management.ObjectName preRegister(javax.management.MBeanServer server, javax.management.ObjectName name)
           
 void setFormat(java.lang.String format)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleLogging

public ConsoleLogging()

ConsoleLogging

public ConsoleLogging(java.lang.String filter,
                      java.lang.String format)
Method Detail

setFormat

public void setFormat(java.lang.String format)
Specified by:
setFormat in interface ConsoleLoggingMBean

getFormat

public java.lang.String getFormat()
Specified by:
getFormat in interface ConsoleLoggingMBean

handleNotification

public void handleNotification(javax.management.Notification n,
                               java.lang.Object handback)
Specified by:
handleNotification in interface javax.management.NotificationListener

preRegister

public javax.management.ObjectName preRegister(javax.management.MBeanServer server,
                                               javax.management.ObjectName name)
                                        throws java.lang.Exception
Specified by:
preRegister in interface javax.management.MBeanRegistration

postRegister

public void postRegister(java.lang.Boolean registrationDone)
Specified by:
postRegister in interface javax.management.MBeanRegistration

preDeregister

public void preDeregister()
                   throws java.lang.Exception
Specified by:
preDeregister in interface javax.management.MBeanRegistration

postDeregister

public void postDeregister()
Specified by:
postDeregister in interface javax.management.MBeanRegistration


Copyright © 2000 The JBoss Organization. All Rights Reserved.