|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.panoptes.module.log4j.LoggerRepository
LoggerRepository.java Controller class for all logger locations. Should probably be instanciated on a per-client-basis in the near future.
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 |
addLoggerCompnent(LoggerComponent component)
Adds a LoggerComponent to this repository so it can be notified
when the repository changes. |
Node[] |
getChildren()
|
NodeDescriptor |
getConfigDescriptor()
|
org.eclipse.swt.graphics.Image |
getIcon()
|
LoggingEventInfo[] |
listEvents()
Lists all event in this repository |
LoggingEventInfo[] |
listEvents(LogFilter filter)
Lists all event in this repository |
LoggingEventInfo[] |
listEvents(LogFilter filter,
int maxCount)
Lists a number of events in this repository. |
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 LoggingEventInfo[] listEvents()
public LoggingEventInfo[] listEvents(LogFilter filter, int maxCount)
maxCount
- the maximum number of events to return
public LoggingEventInfo[] listEvents(LogFilter filter)
public void addLoggerCompnent(LoggerComponent component)
LoggerComponent
to this repository so it can be notified
when the repository changes.
RepositoryListener
public NodeDescriptor getConfigDescriptor()
com.glt.troodon.console.Node#getConfigDescriptor()
public Node[] getChildren()
com.glt.troodon.console.Node#getChildren()
public org.eclipse.swt.graphics.Image getIcon()
com.glt.troodon.console.Node#getIconName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |