com.ibm.events.emitter
Interface TransactionMode


public interface TransactionMode

Constants used to specify whether to send an event to the event bus in the same transaction as the caller or in a new transaction.

Since:
5.1.0
Version:
1.10 6/8/04
See Also:
Emitter

Field Summary
static int DEFAULT
          Indicates that events should be sent to the event bus using the default TransactionMode defined for the emitter.
static int NEW
          Indicates that events should be sent to the event bus in a new transaction.
static int SAME
          Indicates that events should be sent to the event bus in the same transaction as the caller.
 

Field Detail

SAME

public static final int SAME
Indicates that events should be sent to the event bus in the same transaction as the caller.
See Also:
Emitter.sendEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent), Emitter.sendEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent,int,int)

NEW

public static final int NEW
Indicates that events should be sent to the event bus in a new transaction.
See Also:
Emitter.sendEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent), Emitter.sendEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent,int,int)

DEFAULT

public static final int DEFAULT
Indicates that events should be sent to the event bus using the default TransactionMode defined for the emitter.
See Also:
Emitter.sendEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent), Emitter.sendEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent,int,int)