net.sf.csutils.groovy
Class QueryEngine

java.lang.Object
  extended by net.sf.csutils.groovy.QueryEngine
All Implemented Interfaces:
groovy.lang.GroovyObject

public abstract class QueryEngine
extends Object
implements groovy.lang.GroovyObject

The query engine is used to read registry objects.


Constructor Summary
QueryEngine()
           
 
Method Summary
 groovy.lang.MetaClass getMetaClass()
           
protected abstract  net.sf.csutils.core.model.ROMetaModel getMetaModel()
           
 Object getProperty(String pPropertyName)
           
protected abstract  net.sf.csutils.core.registry.RegistryFacade getRegistryFacade()
           
 Object invokeMethod(String pName, Object pArgs)
           
static void run(groovy.lang.Closure pClosure, net.sf.csutils.core.registry.ConnectionProvider pProvider, boolean pCloseConnection)
           
static void run(groovy.lang.Closure pClosure, javax.xml.registry.infomodel.RegistryObject pObject)
           
static void run(Map<String,Object> pMap, groovy.text.Template pTemplate, Writer pWriter, net.sf.csutils.core.registry.ConnectionProvider pProvider)
           
static void run(groovy.text.Template pTemplate, Writer pWriter, net.sf.csutils.core.registry.ConnectionProvider pProvider)
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setProperty(String pPropertyName, Object pNewValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryEngine

public QueryEngine()
Method Detail

getMetaModel

protected abstract net.sf.csutils.core.model.ROMetaModel getMetaModel()

getRegistryFacade

protected abstract net.sf.csutils.core.registry.RegistryFacade getRegistryFacade()

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass metaClass)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String pName,
                           Object pArgs)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String pPropertyName)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String pPropertyName,
                        Object pNewValue)
Specified by:
setProperty in interface groovy.lang.GroovyObject

run

public static void run(groovy.text.Template pTemplate,
                       Writer pWriter,
                       net.sf.csutils.core.registry.ConnectionProvider pProvider)
                throws IOException
Throws:
IOException

run

public static void run(groovy.lang.Closure pClosure,
                       javax.xml.registry.infomodel.RegistryObject pObject)
                throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

run

public static void run(groovy.lang.Closure pClosure,
                       net.sf.csutils.core.registry.ConnectionProvider pProvider,
                       boolean pCloseConnection)

run

public static void run(Map<String,Object> pMap,
                       groovy.text.Template pTemplate,
                       Writer pWriter,
                       net.sf.csutils.core.registry.ConnectionProvider pProvider)
                throws IOException
Throws:
IOException


Copyright © 2009-2010. All Rights Reserved.