|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.panoptes.model.node.ComponentGroupNode | +--net.sf.panoptes.model.node.log4j.LoggerRepository
LoggerRepository.java Controller class for all logger locations. Should probably be instanciated on a per-client-basis in the near future.
Field Summary |
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 | |
LoggerRepository(ComponentRegistry componentRegistry)
Constructor. |
Method Summary | |
void |
addEvent(org.apache.log4j.spi.LoggingEvent e,
java.net.InetAddress host)
Add an event to this repository. |
void |
addListener(RepositoryListener listener)
Adds a RepositoryListener to this repository |
INode[] |
getChildren()
|
NodeDescriptor |
getConfigDescriptor()
|
java.lang.String |
getIconName()
|
org.apache.log4j.spi.LoggingEvent[] |
listEvents()
Lists all event in this repository |
LoggerComponent[] |
listLocations()
Lists all LoggerLocations in this repository |
Methods inherited from class net.sf.panoptes.model.node.ComponentGroupNode |
acceptsChildren, addChild, setAcceptsChildren, setConfigDescriptor, setIconName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LoggerRepository(ComponentRegistry componentRegistry)
Method Detail |
public void addEvent(org.apache.log4j.spi.LoggingEvent e, java.net.InetAddress host)
e
- the event to addhost
- the source host (not used quite yet)public LoggerComponent[] listLocations()
public org.apache.log4j.spi.LoggingEvent[] listEvents()
public void addListener(RepositoryListener listener)
RepositoryListener
to this repository
listener
- the listener to addRepositoryListener
public NodeDescriptor getConfigDescriptor()
getConfigDescriptor
in interface INode
getConfigDescriptor
in class ComponentGroupNode
com.glt.troodon.console.INode#getConfigDescriptor()
public INode[] getChildren()
getChildren
in interface INode
getChildren
in class ComponentGroupNode
com.glt.troodon.console.INode#getChildren()
public java.lang.String getIconName()
getIconName
in interface INode
getIconName
in class ComponentGroupNode
com.glt.troodon.console.INode#getIconName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |