Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.process.audit
Class JPAWorkingMemoryDbLogger

    java.lang.Object
      org.drools.audit.WorkingMemoryLogger
          org.jbpm.process.audit.JPAWorkingMemoryDbLogger

All Implemented Interfaces:
  Externalizable, Serializable, EventListener, org.drools.event.AgendaEventListener, ProcessEventListener, org.drools.event.RuleBaseEventListener, org.drools.event.WorkingMemoryEventListener

    public class JPAWorkingMemoryDbLogger

extends org.drools.audit.WorkingMemoryLogger

Enables history log via JPA.

See Also:
  Serialized Form

Field Summary
`protected Environment` | `env`

Constructor Summary
`JPAWorkingMemoryDbLogger(KnowledgeRuntimeEventManager session)`
`JPAWorkingMemoryDbLogger(org.drools.WorkingMemory workingMemory)`

Method Summary
`void` | `afterProcessCompleted(ProcessCompletedEvent event)` This listener method is invoked right after a process instance has been completed (or aborted).
`void` | `beforeProcessStarted(ProcessStartedEvent event)` This listener method is invoked right before a process instance is being started.
`void` | `dispose()`
`protected static UserTransaction` | `findUserTransaction()`
`void` | `logEventCreated(org.drools.audit.event.LogEvent logEvent)`

Methods inherited from class org.drools.audit.WorkingMemoryLogger
`activationCancelled, activationCreated, addFilter, afterActivationFired, afterFunctionRemoved, afterNodeLeft, afterNodeTriggered, afterPackageAdded, afterPackageRemoved, afterProcessAdded, afterProcessRemoved, afterProcessStarted, afterRuleAdded, afterRuleBaseLocked, afterRuleBaseUnlocked, afterRuleFlowGroupActivated, afterRuleFlowGroupDeactivated, afterRuleRemoved, afterVariableChanged, agendaGroupPopped, agendaGroupPushed, beforeActivationFired, beforeFunctionRemoved, beforeNodeLeft, beforeNodeTriggered, beforePackageAdded, beforePackageRemoved, beforeProcessAdded, beforeProcessCompleted, beforeProcessRemoved, beforeRuleAdded, beforeRuleBaseLocked, beforeRuleBaseUnlocked, beforeRuleFlowGroupActivated, beforeRuleFlowGroupDeactivated, beforeRuleRemoved, beforeVariableChanged, clearFilters, objectInserted, objectRetracted, objectUpdated, readExternal, removeFilter, writeExternal`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### env

    protected Environment env

Constructor Detail

### JPAWorkingMemoryDbLogger

    public JPAWorkingMemoryDbLogger(org.drools.WorkingMemory workingMemory)

### JPAWorkingMemoryDbLogger

    public JPAWorkingMemoryDbLogger(KnowledgeRuntimeEventManager session)

Method Detail

### logEventCreated

    public void logEventCreated(org.drools.audit.event.LogEvent logEvent)

  Specified by:
    `logEventCreated` in class `org.drools.audit.WorkingMemoryLogger`

### dispose

    public void dispose()

### beforeProcessStarted

    public void beforeProcessStarted(ProcessStartedEvent event)

  Description copied from interface: `ProcessEventListener`
  This listener method is invoked right before a process instance is being started.

  Specified by:
    `beforeProcessStarted` in interface `ProcessEventListener`
  Overrides:
    `beforeProcessStarted` in class `org.drools.audit.WorkingMemoryLogger`

### afterProcessCompleted

    public void afterProcessCompleted(ProcessCompletedEvent event)

  Description copied from interface: `ProcessEventListener`
  This listener method is invoked right after a process instance has been completed (or aborted).

  Specified by:
    `afterProcessCompleted` in interface `ProcessEventListener`
  Overrides:
    `afterProcessCompleted` in class `org.drools.audit.WorkingMemoryLogger`

### findUserTransaction

    protected static UserTransaction findUserTransaction()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.