lumis.portal.transaction.spi
Interface ITransactionSPI
- All Superinterfaces:
- ITransaction
- All Known Implementing Classes:
- TransactionHibernate
public interface ITransactionSPI
- extends ITransaction
The transaction interface used internally by the portal framework.
ITransaction
implementations must also implement this interface.
- Since:
- 4.2.0
setTransactionProviderCallback
void setTransactionProviderCallback(ITransactionProviderCallback callback)
- Sets the transaction provider callback object to be used by this
transaction.
- Parameters:
callback
- the callback object.- Since:
- 4.2.0
getTransactionCreationTrace
java.lang.Throwable getTransactionCreationTrace()
- Returns a throwable used just as a trace to the transaction creation.
Instead of manually manipulating
StackTraceElement
, using
a throwable also provides higher-level methods.
- Since:
- 6.1.0
- See Also:
Throwable.getStackTrace()
Lumisportal 6.1.0.111014 - Copyright © 2001-2007, Lumis. All Rights Reserved.