org.broadleafcommerce.openadmin.server.service.persistence.entitymanager
Class BroadleafEntityManagerInvocationHandler
java.lang.Object
org.broadleafcommerce.openadmin.server.service.persistence.entitymanager.BroadleafEntityManagerInvocationHandler
- All Implemented Interfaces:
- InvocationHandler
public class BroadleafEntityManagerInvocationHandler
- extends Object
- implements InvocationHandler
Created by IntelliJ IDEA.
User: jfischer
Date: 8/2/11
Time: 2:26 PM
To change this template use File | Settings | File Templates.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
standardManager
protected final org.hibernate.ejb.HibernateEntityManager standardManager
sandboxManager
protected final org.hibernate.ejb.HibernateEntityManager sandboxManager
standardTransactionManager
protected final org.springframework.transaction.PlatformTransactionManager standardTransactionManager
sandboxTransactionManager
protected final org.springframework.transaction.PlatformTransactionManager sandboxTransactionManager
cleaner
protected final HibernateCleaner cleaner
BroadleafEntityManagerInvocationHandler
public BroadleafEntityManagerInvocationHandler(org.hibernate.ejb.HibernateEntityManager standardManager,
org.hibernate.ejb.HibernateEntityManager sandboxManager,
HibernateCleaner cleaner)
executeInTransaction
protected Object executeInTransaction(BroadleafEntityManagerInvocationHandler.Executable executable,
org.springframework.transaction.PlatformTransactionManager txManager)
throws Throwable
- Throws:
Throwable
logInvocation
protected void logInvocation(String prefix,
org.hibernate.ejb.HibernateEntityManager em,
String methodName)
invoke
public Object invoke(Object o,
Method method,
Object[] objects)
throws Throwable
- Specified by:
invoke in interface InvocationHandler
- Throws:
Throwable
Copyright © 2012. All Rights Reserved.