lumis.portal.transaction.spi
Interface ITransactionSPI

Package class diagram package 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

Method Summary
 java.lang.Throwable getTransactionCreationTrace()
          Returns a throwable used just as a trace to the transaction creation.
 void setTransactionProviderCallback(ITransactionProviderCallback callback)
          Sets the transaction provider callback object to be used by this transaction.
 
Methods inherited from interface lumis.portal.transaction.ITransaction
getByConnectionId
 
Methods inherited from interface lumis.util.ITransaction
addObserver, begin, commit, dispose, getAttribute, isActive, removeAttribute, removeObserver, rollback, setAttribute
 

Method Detail

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.