|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.enterprise.tabularresults.QueryServiceProvider
This class provides a subclass of
wt.enterprise.tabularresults.BaseQueryService
Currently a subclass of wt.enterprise.tabularresults.BaseQueryService
is found by testing if the file name passed in is the fully qualified
path the subclass. If this test fails, then all of the subclasses
of BaseQueryService are enumerated over and the name of the subclass
is tested against the name of the file name that was passed in.
If a match is found, a concreate instance is returned. Otherwise, a WTException is thrown.
Supported API: false
Extendable: false
BaseQueryService
Constructor Summary | |
QueryServiceProvider()
|
Method Summary | |
BaseQueryService |
getChildOfBaseQuery(String child_name)
This class uses the fact that BaseQueryService implements NetFactor to able to find all of BaseQueryService's children. |
BaseQueryService |
getqueryService(String query_service_name)
This method will generate an instance of a subclass of BaseQueryService using the string that is in query_service_name. |
Object |
loadClass(String class_name)
This method takes in a full class path and tries to instantiate an instance of that class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QueryServiceProvider()
Method Detail |
public BaseQueryService getqueryService(String query_service_name) throws WTException
query_service_name
- This can be a full path to the subclass of BasicQueryService or simply the name of the sublass
WTException
public Object loadClass(String class_name) throws WTException
class_name
- the full class path of the class to instantiate
WTException
public BaseQueryService getChildOfBaseQuery(String child_name) throws WTException
child_name
- This string is assumed to be the name of the subclass of BaseQueryService to instantiate
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |