GigaSpaces XAP 9.1 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 (in seconds).
 String transactionManager
          A reference to the actual transaction manager.
 

propagation

public abstract Propagation propagation
The transaction propagation type.

Defaults to Propagation.REQUIRED.

Default:
org.springframework.transaction.annotation.Propagation.REQUIRED

isolation

public abstract Isolation isolation
The transaction isolation level.

Defaults to Isolation.DEFAULT.

Default:
org.springframework.transaction.annotation.Isolation.DEFAULT

timeout

public abstract int timeout
The timeout for this transaction (in seconds).

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 9.1 API

Copyright © GigaSpaces.