org.drools.core.audit
Class WorkingMemoryConsoleLogger
java.lang.Object
org.drools.core.audit.WorkingMemoryLogger
org.drools.core.audit.WorkingMemoryConsoleLogger
- All Implemented Interfaces:
- Externalizable, Serializable, EventListener, AgendaEventListener, RuleBaseEventListener, WorkingMemoryEventListener, org.kie.api.event.process.ProcessEventListener
public class WorkingMemoryConsoleLogger
- extends WorkingMemoryLogger
- See Also:
- Serialized Form
|
Field Summary |
protected static org.slf4j.Logger |
logger
|
| Methods inherited from class org.drools.core.audit.WorkingMemoryLogger |
activationCancelled, activationCreated, addFilter, afterActivationFired, afterFunctionRemoved, afterNodeLeft, afterNodeTriggered, afterPackageAdded, afterPackageRemoved, afterProcessAdded, afterProcessCompleted, afterProcessRemoved, afterProcessStarted, afterRuleAdded, afterRuleBaseLocked, afterRuleBaseUnlocked, afterRuleFlowGroupActivated, afterRuleFlowGroupDeactivated, afterRuleRemoved, afterVariableChanged, agendaGroupPopped, agendaGroupPushed, beforeActivationFired, beforeFunctionRemoved, beforeNodeLeft, beforeNodeTriggered, beforePackageAdded, beforePackageRemoved, beforeProcessAdded, beforeProcessCompleted, beforeProcessRemoved, beforeProcessStarted, beforeRuleAdded, beforeRuleBaseLocked, beforeRuleBaseUnlocked, beforeRuleFlowGroupActivated, beforeRuleFlowGroupDeactivated, beforeRuleRemoved, beforeVariableChanged, clearFilters, objectInserted, objectRetracted, objectUpdated, removeFilter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static transient org.slf4j.Logger logger
WorkingMemoryConsoleLogger
public WorkingMemoryConsoleLogger(WorkingMemory workingMemory)
WorkingMemoryConsoleLogger
public WorkingMemoryConsoleLogger(org.kie.internal.event.KnowledgeRuntimeEventManager session)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable- Overrides:
readExternal in class WorkingMemoryLogger
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable- Overrides:
writeExternal in class WorkingMemoryLogger
- Throws:
IOException
logEventCreated
public void logEventCreated(LogEvent logEvent)
- Description copied from class:
WorkingMemoryLogger
- This method is invoked every time a new log event is created.
Subclasses should implement this method and store the event,
like for example log to a file or database.
- Specified by:
logEventCreated in class WorkingMemoryLogger
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.