org.jboss.seam.persistence
Class EntityManagerInvocationHandler
java.lang.Object
org.jboss.seam.persistence.EntityManagerInvocationHandler
- All Implemented Interfaces:
- Serializable, InvocationHandler
public class EntityManagerInvocationHandler
- extends Object
- implements InvocationHandler, Serializable
InvocationHandler that Proxies the EntityManager, and implements EL
interpolation in JPA-QL
- Author:
- Gavin King, Mike Youngstrom
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityManagerInvocationHandler
public EntityManagerInvocationHandler(javax.persistence.EntityManager delegate)
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
handleCreateQueryWithString
protected Object handleCreateQueryWithString(Method method,
Object[] args)
throws Throwable
- Throws:
Throwable
handleGetDelegate
protected Object handleGetDelegate(Method method,
Object[] args)
throws Throwable
- Throws:
Throwable
handleRemove
protected Object handleRemove(Method method,
Object[] args)
throws Throwable
- Throws:
Throwable