net.sourceforge.esw.service.log
Class LogDissemination
java.lang.Object
|
+--net.sourceforge.esw.util.SupportObject
|
+--net.sourceforge.esw.service.AService
|
+--net.sourceforge.esw.service.ADefaultService
|
+--net.sourceforge.esw.service.log.ALog
|
+--net.sourceforge.esw.service.log.LogDissemination
- All Implemented Interfaces:
- ILog, ILogDissemination, IService, ISupportObject, java.io.Serializable
- public class LogDissemination
- extends ALog
- implements ILogDissemination
Describes the basic concepts of Dissemination of Log messages
Primarily, provides access to the filter engine for configuring the
Log Dissemination. Most other useful things are inherited from ILog
- See Also:
- Serialized Form
Method Summary |
IFilterEngine |
getFilterEngine()
returns a reference to the IFilterEngine used by this ILogDessemination
|
void |
log(ILogDatum aDatum)
Logs the specified ILogDatum instance to this ILog instance. |
void |
log(INode aNode)
Logs the specified INode instance to this ILog instance. |
static void |
main(java.lang.String[] args)
Entry Point for a LogDissemination Service |
void |
setFilterEngine(IFilterEngine newEngine)
Changes the IFilterEngine used by this ILogDissemination
|
Methods inherited from class net.sourceforge.esw.util.SupportObject |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getID, getProperty, getPropertySize, propertyKeys, removeProperty, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, setID, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sourceforge.esw.util.ISupportObject |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getID, getProperty, getPropertySize, propertyKeys, removeProperty, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, setID, setProperty |
filterEngine
protected IFilterEngine filterEngine
LogDissemination
public LogDissemination()
- Creates a new LogDissemination.
getFilterEngine
public IFilterEngine getFilterEngine()
- returns a reference to the IFilterEngine used by this ILogDessemination
- Specified by:
getFilterEngine
in interface ILogDissemination
- Returns:
- IFilterEngine the Engine used by this ILogDissemination
setFilterEngine
public void setFilterEngine(IFilterEngine newEngine)
- Changes the IFilterEngine used by this ILogDissemination
- Specified by:
setFilterEngine
in interface ILogDissemination
- Parameters:
newEngine
- the Engine to be used by this ILogDissemination
log
public void log(ILogDatum aDatum)
throws LoggingException
- Logs the specified ILogDatum instance to this ILog instance.
- Specified by:
log
in interface ILog
- Overrides:
log
in class ALog
- Parameters:
aDatum
- the ILogDatum instance containing the data of the event
to be logged
log
public void log(INode aNode)
throws LoggingException
- Logs the specified INode instance to this ILog instance.
- Specified by:
log
in interface ILog
- Overrides:
log
in class ALog
- Parameters:
aNode
- the INode instance containing the data of the event to be
logged
main
public static void main(java.lang.String[] args)
- Entry Point for a LogDissemination Service
- Parameters:
args
- the Parameters for startup
Copyright 2002 Free Software Foundation. All Rights Reserved.