org.apache.openejb.util.proxy
Class QueryProxy

java.lang.Object
  extended by org.apache.openejb.util.proxy.QueryProxy
All Implemented Interfaces:
InvocationHandler

public class QueryProxy
extends Object
implements InvocationHandler


Field Summary
static String AND
           
static String BY
           
static String FIND_PREFIX
           
static String MERGE_NAME
           
static String NAMED_QUERY_NAME
           
static String NATIVE_QUERY_NAME
           
static String PERSIST_NAME
           
static String QUERY_NAME
           
static String REMOVE_NAME
           
 
Constructor Summary
QueryProxy()
           
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
           
 void setEntityManager(javax.persistence.EntityManager entityManager)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PERSIST_NAME

public static final String PERSIST_NAME
See Also:
Constant Field Values

MERGE_NAME

public static final String MERGE_NAME
See Also:
Constant Field Values

REMOVE_NAME

public static final String REMOVE_NAME
See Also:
Constant Field Values

NAMED_QUERY_NAME

public static final String NAMED_QUERY_NAME
See Also:
Constant Field Values

NATIVE_QUERY_NAME

public static final String NATIVE_QUERY_NAME
See Also:
Constant Field Values

QUERY_NAME

public static final String QUERY_NAME
See Also:
Constant Field Values

FIND_PREFIX

public static final String FIND_PREFIX
See Also:
Constant Field Values

BY

public static final String BY
See Also:
Constant Field Values

AND

public static final String AND
See Also:
Constant Field Values
Constructor Detail

QueryProxy

public QueryProxy()
Method Detail

setEntityManager

public void setEntityManager(javax.persistence.EntityManager entityManager)

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.