Метод | Описание | |
---|---|---|
BindResource ( Object key, Object value ) : void |
Bind the given resource for teh given key to the current thread
|
|
Clear ( ) : void |
Clears the entire transaction synchronization state for the current thread, registered synchronizations as well as the various transaction characteristics.
|
|
ClearSynchronization ( ) : void |
Deactivate transaction synchronization for the current thread. Called by transaction manager on transaction cleanup. |
|
GetResource ( Object key ) : object |
Retrieve a resource for the given key that is bound to the current thread.
|
|
HasResource ( Object key ) : bool |
Check if there is a resource for the given key bound to the current thread.
|
|
InitSynchronization ( ) : void |
Activate transaction synchronization for the current thread. Called by transaction manager at the beginning of a transaction. |
|
RegisterSynchronization ( ITransactionSynchronization synchronization ) : void |
Register a new transaction synchronization for the current thread. Typically called by resource management code. |
|
UnbindResource ( Object key ) : object |
Unbind a resource for the given key from the current thread
|
Метод | Описание | |
---|---|---|
Describe ( object obj ) : string |
public static BindResource ( Object key, Object value ) : void | ||
key | Object | key to bind the value to |
value | Object | value to bind |
Результат | void |
public static ClearSynchronization ( ) : void | ||
Результат | void |
public static GetResource ( Object key ) : object | ||
key | Object | key to check |
Результат | object |
public static HasResource ( Object key ) : bool | ||
key | Object | key to check |
Результат | bool |
public static InitSynchronization ( ) : void | ||
Результат | void |
public static RegisterSynchronization ( ITransactionSynchronization synchronization ) : void | ||
synchronization | ITransactionSynchronization | |
Результат | void |
public static UnbindResource ( Object key ) : object | ||
key | Object | key to check |
Результат | object |