|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.shiftone.exq.QueryBuilder
This interface provides application code with a way to obtain a Query instance.
Implementations of this interface are expected to be thread safe.
It is recommended that a reference be keep to an instance of concrete implementation of this interface rather than to call newInstance() each time an instance is needed.
Constructor Summary | |
QueryBuilder()
|
Method Summary | |
abstract Query |
getQuery(java.lang.String resourcePath)
Returns a new Query that was initialized with the meta-data at the given resource path. |
static QueryBuilder |
newInstance()
Method newInstance |
static QueryBuilder |
newInstance(java.lang.ClassLoader classLoader)
Returns a new instance of a QueryBuilder - this instance does not share state with any other QueryBuilders. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QueryBuilder()
Method Detail |
public abstract Query getQuery(java.lang.String resourcePath) throws QException
To put it another way.. the meta-data cache, and other state is not shared from one QueryBuilder instance to another.
A resource path of aaa.bbb.ccc.ddd will be translated to /aaa/bbb/ccc/ddd.xml
QException
public static QueryBuilder newInstance() throws QException
QException
public static QueryBuilder newInstance(java.lang.ClassLoader classLoader) throws QException
QException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |