|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IScopeFactory
A factory capable of creating IScopeBoundary objects. IScopeBoundary
objects can be either ConnectionScope or TransactionScope objects.
The default implementation of this IScopeFactory interface is
the ScopeFactory class.
Method Summary | |
---|---|
IScopeBoundary |
createConnectionScope()
Creates a connection scope object. |
java.lang.Object |
createConnectionScope(java.lang.Object scopeTarget)
Creates a connection scope object that wraps a connection scope around methods of the scopeTarget object. |
IScopeBoundary |
createTransactionScope()
Creates a transaction scope object. |
java.lang.Object |
createTransactionScope(java.lang.Object scopeTarget)
Creates a transaction scope object that wraps a transaction scope around methods of the scopeTarget object. |
ScopingDataSource |
getScopingDataSource()
Returns the ScopingDataSource used by this IScopeFactory. |
Method Detail |
---|
ScopingDataSource getScopingDataSource()
IScopeBoundary createConnectionScope()
java.lang.Object createConnectionScope(java.lang.Object scopeTarget)
scopeTarget
-
IScopeBoundary createTransactionScope()
java.lang.Object createTransactionScope(java.lang.Object scopeTarget)
scopeTarget
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |