GigaSpaces XAP 7.0 API

org.openspaces.events
Annotation Type TransactionalEvent


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface TransactionalEvent

Marks an event container configured using annotations (Polling or Notify as transactional.

Author:
kimchy

Optional Element Summary
 Isolation isolation
          The transaction isolation level.
 Propagation propagation
          The transaction propagation type.
 int timeout
          The timeout for this transaction.
 String transactionManager
          A reference to the actual transaction manager.
 

propagation

public abstract Propagation propagation
The transaction propagation type.

Defaults to Propagation.REQUIRED.

Default:
REQUIRED

isolation

public abstract Isolation isolation
The transaction isolation level.

Defaults to Isolation.DEFAULT.

Default:
DEFAULT

timeout

public abstract int timeout
The timeout for this transaction.

Defaults to the default timeout of the underlying transaction system.

Default:
-1

transactionManager

public abstract String transactionManager
A reference to the actual transaction manager. Only needed if there is more than one transaction manager in the context. If there is only one, will use it by default.

Default:
""

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.