|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.org.ogsadai.dataresource.config.DataResourceConfigParser
This class parses a data resource configuration document and sets up key DAI objects including DAI properties and a ConnectionConfig configuration object.
| Constructor Summary | |
DataResourceConfigParser(java.lang.String dataResourceConfigFile)
Parse a data resource configuration document and setup DAI properties. |
|
| Method Summary | |
ConnectionConfig |
getConnectionConfig()
Return a ConnectionConfig object
configured with data resource connection information and role
mapper information. |
java.lang.String |
getConnectionManagerClass()
Return name of class implementing connection between OGSA-DAI and the data resource. |
Properties |
getDataResourceProperties()
Return the properties that were extracted from the data resource configuration document. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataResourceConfigParser(java.lang.String dataResourceConfigFile)
throws CoreUserException
dataResourceConfigFile - - location of data resource
configuration document.
CoreUserException - if dataResourceConfigFile is null or
the information within it is invalid.| Method Detail |
public ConnectionConfig getConnectionConfig()
ConnectionConfig object
configured with data resource connection information and role
mapper information.
ConnectionConfig object.public java.lang.String getConnectionManagerClass()
public Properties getDataResourceProperties()
Properties object.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||