org.objectweb.jotm.core.delegation
Interface DelegationType


public interface DelegationType

Delegation type defines delegation types


Field Summary
static int TYPE_DEFERRED
          Deferred delegation.
static int TYPE_IMMEDIATE
          Immediate delegation.
 

Field Detail

TYPE_IMMEDIATE

public static final int TYPE_IMMEDIATE
Immediate delegation. Delegated object(s) is immediately after the DelegationManager.delegate method invocation delegated to the delegatee transaction.

See Also:
Constant Field Values

TYPE_DEFERRED

public static final int TYPE_DEFERRED
Deferred delegation. Delegated object(s) is not immediately after the DelegationManager.delegate method invocation delegated to the delegatee transaction. Instead, the object(s) is disassociated with the delegator transaction. It is acquired by the delegatee transaction after it invokes the DelegationManager.acquire method.

See Also:
Constant Field Values