org.geotools.data.gen
Class QueryInvocationHandler

java.lang.Object
  extended by org.geotools.data.gen.QueryInvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class QueryInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

Author:
Christian Mueller This invocation handler is used for a query proxy passed to the backend feature sources. The proxy object returns typeName and propertyNames fitting for the backendstore, leaving all other query data unchanged

Constructor Summary
QueryInvocationHandler(Query query, java.lang.String typeName, java.lang.String[] propertyNames)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryInvocationHandler

public QueryInvocationHandler(Query query,
                              java.lang.String typeName,
                              java.lang.String[] propertyNames)
Method Detail

invoke

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


Copyright © 1996-2010 Geotools. All Rights Reserved.