public class PortletTransactionManager
extends Object
implements org.springframework.transaction.PlatformTransactionManager
Constructor and Description |
---|
PortletTransactionManager(org.springframework.orm.hibernate3.HibernateTransactionManager portalHibernateTransactionManager,
org.hibernate.SessionFactory portletSessionFactory) |
Modifier and Type | Method and Description |
---|---|
void |
commit(org.springframework.transaction.TransactionStatus transactionStatus) |
org.hibernate.SessionFactory |
getPortletSessionFactory() |
org.springframework.transaction.TransactionStatus |
getTransaction(org.springframework.transaction.TransactionDefinition transactionDefinition) |
void |
rollback(org.springframework.transaction.TransactionStatus transactionStatus) |
public PortletTransactionManager(org.springframework.orm.hibernate3.HibernateTransactionManager portalHibernateTransactionManager, org.hibernate.SessionFactory portletSessionFactory)
public void commit(org.springframework.transaction.TransactionStatus transactionStatus) throws org.springframework.transaction.TransactionException
commit
in interface org.springframework.transaction.PlatformTransactionManager
org.springframework.transaction.TransactionException
public org.hibernate.SessionFactory getPortletSessionFactory()
public org.springframework.transaction.TransactionStatus getTransaction(org.springframework.transaction.TransactionDefinition transactionDefinition) throws org.springframework.transaction.TransactionException
getTransaction
in interface org.springframework.transaction.PlatformTransactionManager
org.springframework.transaction.TransactionException
public void rollback(org.springframework.transaction.TransactionStatus transactionStatus) throws org.springframework.transaction.TransactionException
rollback
in interface org.springframework.transaction.PlatformTransactionManager
org.springframework.transaction.TransactionException