org.jmux.app.component
Class AbstractComponent

java.lang.Object
  extended by org.jmux.app.component.AbstractComponent
All Implemented Interfaces:
Component
Direct Known Subclasses:
AbstractControl, Inspector, JMXComponent, MailSender, PersisterUtil, Scratch

public abstract class AbstractComponent
extends java.lang.Object
implements Component

Author:
donaldw

Constructor Summary
AbstractComponent()
           
 
Method Summary
 void configure(Config config, App app)
           
protected  Config getConfig()
           
protected  void log(java.lang.String message)
           
protected  void logDebug(java.lang.String message)
           
protected  void logDebug(java.lang.String message, java.lang.Throwable throwable)
           
protected  void logError(java.lang.String message)
           
protected  void logError(java.lang.String message, java.lang.Throwable throwable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractComponent

public AbstractComponent()
Method Detail

configure

public void configure(Config config,
                      App app)
Specified by:
configure in interface Component

getConfig

protected Config getConfig()

logDebug

protected void logDebug(java.lang.String message)

logDebug

protected void logDebug(java.lang.String message,
                        java.lang.Throwable throwable)

log

protected void log(java.lang.String message)

logError

protected void logError(java.lang.String message,
                        java.lang.Throwable throwable)

logError

protected void logError(java.lang.String message)


Copyright © 2006-2008 jmux.org. All Rights Reserved.