net.sf.panoptes.module.log4j
Class LoggerComponent

java.lang.Object
  |
  +--net.sf.panoptes.model.node.Node
        |
        +--net.sf.panoptes.model.component.Component
              |
              +--net.sf.panoptes.module.log4j.LoggerComponent

public class LoggerComponent
extends Component

Wraps a logger location.

Version:
0.1
Author:
Dag Liodden

Field Summary
 
Fields inherited from class net.sf.panoptes.model.node.Node
ICON_BROKEN_LINK, ICON_CONNECTION, ICON_CONNECTIONS_FOLDER, ICON_DATASOURCE, ICON_DOMAIN, ICON_ERROR, ICON_FOLDER, ICON_INFO, ICON_LOG, ICON_LOG_FOLDER, ICON_MBEAN, ICON_QUERY_FOLDER, ICON_SERVER, ICON_SERVICE, ICON_SESSION, ICON_USER, ICON_WARNING
 
Constructor Summary
LoggerComponent()
          Constructor for LoggerComponent.
 
Method Summary
 NodeDescriptor getConfigDescriptor()
           
 java.lang.String[] getConfiguratorScripts()
           
 LogFilter getFilter()
           
 org.eclipse.swt.graphics.Image getIcon()
           
 void init()
          Called when the Component has had all it's attributes set and should be ready for initialization.
 org.jboss.util.property.Configurable[] listChildren()
           
 LoggingEventInfo[] listEvents()
           
 LoggingEventInfo[] listEvents(int maxCount)
           
 void repositoryUpdated(java.util.Collection newEvents)
           
 void setFilter(LogFilter filter)
           
 void setLogFilter(LogFilter filter)
           
 void setLoggerRepository(LoggerRepository repository)
           
 
Methods inherited from class net.sf.panoptes.model.component.Component
acceptsChildren, getChildren, getComponentName, getComponentRegistry, setComponentName, setComponentRegistry
 
Methods inherited from class net.sf.panoptes.model.node.Node
addUpdateListener, createImage, notifyListeners, removeUpdateListener, setConfigDescriptor, setIcon
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggerComponent

public LoggerComponent()
Constructor for LoggerComponent.

Method Detail

setLogFilter

public void setLogFilter(LogFilter filter)

setLoggerRepository

public void setLoggerRepository(LoggerRepository repository)

init

public void init()
Description copied from class: Component
Called when the Component has had all it's attributes set and should be ready for initialization.

Specified by:
init in class Component

listChildren

public org.jboss.util.property.Configurable[] listChildren()

listEvents

public LoggingEventInfo[] listEvents()

listEvents

public LoggingEventInfo[] listEvents(int maxCount)

getConfigDescriptor

public NodeDescriptor getConfigDescriptor()
Specified by:
getConfigDescriptor in class Node
See Also:
com.glt.troodon.console.Node#getConfigDescriptor()

getIcon

public org.eclipse.swt.graphics.Image getIcon()
Specified by:
getIcon in class Node
Returns:
See Also:
com.glt.troodon.console.Node#getIconName()

getConfiguratorScripts

public java.lang.String[] getConfiguratorScripts()
Overrides:
getConfiguratorScripts in class Component

getFilter

public LogFilter getFilter()
Returns:

setFilter

public void setFilter(LogFilter filter)
Parameters:
filter -

repositoryUpdated

public void repositoryUpdated(java.util.Collection newEvents)


Copyright © 2003 . All Rights Reserved.