net.sf.panoptes.model.component.log4j
Class LoggerComponent
java.lang.Object
|
+--net.sf.panoptes.model.component.Component
|
+--net.sf.panoptes.model.component.log4j.LoggerComponent
- All Implemented Interfaces:
- java.lang.Comparable, IComponent, INode
- public class LoggerComponent
- extends Component
- implements java.lang.Comparable
Wraps a logger location.
- Version:
- 0.1
- Author:
- Dag Liodden
Fields inherited from interface net.sf.panoptes.model.node.INode |
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(java.lang.String host,
java.lang.String className,
boolean isPackage,
LoggerComponent parent)
Constructor for LoggerComponent. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggerComponent
public LoggerComponent(java.lang.String host,
java.lang.String className,
boolean isPackage,
LoggerComponent parent)
- Constructor for LoggerComponent.
getClassName
public java.lang.String getClassName()
addEvent
public void addEvent(org.apache.log4j.spi.LoggingEvent event)
addChild
public void addChild(LoggerComponent child)
listChildren
public LoggerComponent[] listChildren()
listEvents
public org.apache.log4j.spi.LoggingEvent[] listEvents()
listEvents
public org.apache.log4j.spi.LoggingEvent[] listEvents(org.apache.log4j.Level level)
getConfigDescriptor
public NodeDescriptor getConfigDescriptor()
- Specified by:
getConfigDescriptor
in interface INode
- See Also:
com.glt.troodon.console.INode#getConfigDescriptor()
getIconName
public java.lang.String getIconName()
- Specified by:
getIconName
in interface INode
- See Also:
com.glt.troodon.console.INode#getIconName()
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
- See Also:
Comparable.compareTo(java.lang.Object)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
Copyright © 2003 . All Rights Reserved.