Méthode | Description | |
---|---|---|
AddDataAccessorForThread ( IDataAccessor dataAccessor ) : void |
Adds a data accessor to the collection of data accessors. This data accessor will be used for this thread.
|
|
ClearDeadThreads ( ) : void |
Clears data accessors for threads that have died. This method is called every 5 seconds, or can be called explicitly.
|
|
CreateTransactionCommitter ( ) : ITransactionCommitter |
Creates a TransactionCommitter for you to use to persist BusinessObjects. A new TransactionCommitter is required each time an object or set of objects is persisted.
|
|
DataAccessorThreadSplitter ( IDataAccessor dataAccessor ) : System.Collections.Generic |
Construct using an initial IDataAccessor, which will be the one used for this thread.
|
|
GetDataAccessorForThread ( |
Returns the data accessor for the given thread. You can use this to check if your current thread has a data accessor before trying to use it.
|
public AddDataAccessorForThread ( IDataAccessor dataAccessor ) : void | ||
dataAccessor | IDataAccessor | |
Résultat | void |
public CreateTransactionCommitter ( ) : ITransactionCommitter | ||
Résultat | ITransactionCommitter |
public DataAccessorThreadSplitter ( IDataAccessor dataAccessor ) : System.Collections.Generic | ||
dataAccessor | IDataAccessor | |
Résultat | System.Collections.Generic |
public GetDataAccessorForThread ( |
||
thread | ||
Résultat | IDataAccessor |