IBM WebSphere Application ServerTM
Release 8

com.ibm.events.emitter
Interface TransactionMode


public interface TransactionMode

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

Since:
5.1.0
Version:
1.2 11/4/05
See Also:
Emitter

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

Field Detail

SAME

static final int SAME
Indicates that events should be sent to the event service 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), Constant Field Values

NEW

static final int NEW
Indicates that events should be sent to the event service 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), Constant Field Values

DEFAULT

static final int DEFAULT
Indicates that events should be sent to the event service 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), Constant Field Values

IBM WebSphere Application ServerTM
Release 8