org.geotools.data.gen
Class QueryInvocationHandler

Object
  extended by QueryInvocationHandler
All Implemented Interfaces:
InvocationHandler

public class QueryInvocationHandler
extends Object
implements 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, String typeName, String[] propertyNames)
           
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryInvocationHandler

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

invoke

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


Copyright © 1996-2009 Geotools. All Rights Reserved.