Liferay 6.0.5

com.liferay.util.spring.transaction
Class TransactionManagerClp

java.lang.Object
  extended by com.liferay.util.spring.transaction.TransactionManagerClp
All Implemented Interfaces:
org.springframework.transaction.PlatformTransactionManager

public class TransactionManagerClp
extends Object
implements org.springframework.transaction.PlatformTransactionManager

A transaction manager class loader proxy delegating the method invocations to the transaction manager in the portal implementation. The transaction manager within the portal must be specified as a Spring bean having id "liferayTransactionManager".


Constructor Summary
TransactionManagerClp()
           
 
Method Summary
 void commit(org.springframework.transaction.TransactionStatus transactionStatus)
           
protected  Object createRemoteTransactionDefinition(org.springframework.transaction.TransactionDefinition transactionDefinition)
           
 org.springframework.transaction.TransactionStatus getTransaction(org.springframework.transaction.TransactionDefinition transactionDefinition)
           
 void init()
           
protected  void initTransactionManagerMethods()
           
 void rollback(org.springframework.transaction.TransactionStatus transactionStatus)
           
protected  Object unwrapTransactionStatus(org.springframework.transaction.TransactionStatus localTransactionStatus)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionManagerClp

public TransactionManagerClp()
Method Detail

commit

public void commit(org.springframework.transaction.TransactionStatus transactionStatus)
            throws org.springframework.transaction.TransactionException
Specified by:
commit in interface org.springframework.transaction.PlatformTransactionManager
Throws:
org.springframework.transaction.TransactionException

getTransaction

public org.springframework.transaction.TransactionStatus getTransaction(org.springframework.transaction.TransactionDefinition transactionDefinition)
                                                                 throws org.springframework.transaction.TransactionException
Specified by:
getTransaction in interface org.springframework.transaction.PlatformTransactionManager
Throws:
org.springframework.transaction.TransactionException

init

@PostConstruct
public void init()
          throws ClassNotFoundException
Throws:
ClassNotFoundException

rollback

public void rollback(org.springframework.transaction.TransactionStatus transactionStatus)
              throws org.springframework.transaction.TransactionException
Specified by:
rollback in interface org.springframework.transaction.PlatformTransactionManager
Throws:
org.springframework.transaction.TransactionException

createRemoteTransactionDefinition

protected Object createRemoteTransactionDefinition(org.springframework.transaction.TransactionDefinition transactionDefinition)
                                            throws IllegalAccessException,
                                                   InstantiationException
Throws:
IllegalAccessException
InstantiationException

initTransactionManagerMethods

protected void initTransactionManagerMethods()

unwrapTransactionStatus

protected Object unwrapTransactionStatus(org.springframework.transaction.TransactionStatus localTransactionStatus)

Liferay 6.0.5