메소드 | 설명 | |
---|---|---|
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 GetResource ( Object key ) : object | ||
key | Object | key to check |
리턴 | object |
public static HasResource ( Object key ) : bool | ||
key | Object | key to check |
리턴 | bool |
public static RegisterSynchronization ( ITransactionSynchronization synchronization ) : void | ||
synchronization | ITransactionSynchronization | |
리턴 | void |
public static UnbindResource ( Object key ) : object | ||
key | Object | key to check |
리턴 | object |