Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 3.2.4 generated on January 7 2005
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## kodo.event
Class AbstractTransactionListener

    java.lang.Object
      |
      +--kodo.event.AbstractTransactionListener

All Implemented Interfaces:
  TransactionListener

public abstract class AbstractTransactionListener
extends Object
implements TransactionListener

Abstract implementation of the `TransactionListener` interface that provides no-op implementations of all methods.

Since:
  3.0

Constructor Summary
`AbstractTransactionListener()`

Method Summary
`void` | `afterBegin(TransactionEvent event)` Notification that a transaction has begun.
`void` | `afterCommit(TransactionEvent event)` Notification that a transaction has successfully committed.
`void` | `afterFlush(TransactionEvent event)` Notification that a transaction has flushed all object changes.
`void` | `afterRollback(TransactionEvent event)` Notification that a transaction has been rolled back.
`void` | `afterStateTransitions(TransactionEvent event)` Notification that JDO state transitions are complete.
`void` | `beforeCommit(TransactionEvent event)` Notification that the next flush is for the transaction commit.
`void` | `beforeFlush(TransactionEvent event)` Notification that a transaction is about to flush all object changes.
`protected void` | `eventOccurred(TransactionEvent event)` Catch-all for unhandled events.

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

Constructor Detail

### AbstractTransactionListener

    public AbstractTransactionListener()

Method Detail

### eventOccurred

    protected void eventOccurred(TransactionEvent event)

  Catch-all for unhandled events. This method is called by all other event methods if you do not override them. Does nothing by default.

### afterBegin

    public void afterBegin(TransactionEvent event)

  Description copied from interface: `TransactionListener`
  Notification that a transaction has begun.
  Specified by:
    `afterBegin` in interface `TransactionListener`
  Following copied from interface: `kodo.event.TransactionListener`
  See Also:
    `TransactionEvent.AFTER_BEGIN`

### beforeFlush

    public void beforeFlush(TransactionEvent event)

  Description copied from interface: `TransactionListener`
  Notification that a transaction is about to flush all object changes.
  Specified by:
    `beforeFlush` in interface `TransactionListener`
  Following copied from interface: `kodo.event.TransactionListener`
  See Also:
    `TransactionEvent.BEFORE_FLUSH`

### afterFlush

    public void afterFlush(TransactionEvent event)

  Description copied from interface: `TransactionListener`
  Notification that a transaction has flushed all object changes.
  Specified by:
    `afterFlush` in interface `TransactionListener`
  Following copied from interface: `kodo.event.TransactionListener`
  See Also:
    `TransactionEvent.AFTER_FLUSH`

### beforeCommit

    public void beforeCommit(TransactionEvent event)

  Description copied from interface: `TransactionListener`
  Notification that the next flush is for the transaction commit.
  Specified by:
    `beforeCommit` in interface `TransactionListener`
  Following copied from interface: `kodo.event.TransactionListener`
  See Also:
    `TransactionEvent.BEFORE_COMMIT`

### afterCommit

    public void afterCommit(TransactionEvent event)

  Description copied from interface: `TransactionListener`
  Notification that a transaction has successfully committed.
  Specified by:
    `afterCommit` in interface `TransactionListener`
  Following copied from interface: `kodo.event.TransactionListener`
  See Also:
    `TransactionEvent.AFTER_COMMIT`

### afterRollback

    public void afterRollback(TransactionEvent event)

  Description copied from interface: `TransactionListener`
  Notification that a transaction has been rolled back.
  Specified by:
    `afterRollback` in interface `TransactionListener`
  Following copied from interface: `kodo.event.TransactionListener`
  See Also:
    `TransactionEvent.AFTER_ROLLBACK`

### afterStateTransitions

    public void afterStateTransitions(TransactionEvent event)

  Description copied from interface: `TransactionListener`
  Notification that JDO state transitions are complete.
  Specified by:
    `afterStateTransitions` in interface `TransactionListener`
  Following copied from interface: `kodo.event.TransactionListener`
  See Also:
    `TransactionEvent.AFTER_STATE_TRANSITIONS`

Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 3.2.4 generated on January 7 2005
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.