org.shiftone.exq.impl.config.types
Class Querier

java.lang.Object
  extended byorg.shiftone.exq.impl.config.types.Querier

public class Querier
extends java.lang.Object

Class Querier

Author:
Jeff Drost

Constructor Summary
Querier()
           
 
Method Summary
 CacheConfig createCache()
          Method createCache
 QueryExecutor createFunction()
          Method createFunction
 QueryExecutor createSql()
          Method createSql
 org.shiftone.cache.Cache getConfiguredCache()
          This method returns an object cache that is configured correctly.
 java.lang.String getConnectorName()
          Method getConnectorName
 QueryExecutor getQueryExecutor()
          Method getSql
 void setConnectorName(java.lang.String connectorName)
          Method setConnector
 void setName(java.lang.String name)
          Method setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Querier

public Querier()
Method Detail

setName

public void setName(java.lang.String name)
Method setName

Parameters:
name -

createCache

public CacheConfig createCache()
Method createCache


createSql

public QueryExecutor createSql()
                        throws ConfigException
Method createSql

Throws:
ConfigException

createFunction

public QueryExecutor createFunction()
                             throws ConfigException
Method createFunction

Throws:
ConfigException

setConnectorName

public void setConnectorName(java.lang.String connectorName)
Method setConnector

Parameters:
connectorName -

getQueryExecutor

public QueryExecutor getQueryExecutor()
Method getSql


getConnectorName

public java.lang.String getConnectorName()
Method getConnectorName


getConfiguredCache

public org.shiftone.cache.Cache getConfiguredCache()
This method returns an object cache that is configured correctly. It will not return null. If no caching is configured, then a dummy cache will be returned that never holds any objects that are put into it.