|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.org.ogsadai.dataresource.DataResourceManagerConfigImpl
This class represents a data resource. This includes a
ConnectionManager to manage interaction with the
data resource, a set of supported activities that can be executed
by clients and Perform document schema.
The class is configured using OGSA-DAI data resource configuration and activity configuration documents.
| Constructor Summary | |
DataResourceManagerConfigImpl(java.lang.String baseDir,
java.lang.String dataResourceConfigFile,
java.lang.String activityConfigFile)
Given a data resource configuration file and an activity configuration file create a DataResourceManagerConfig object. |
|
| Method Summary | |
ActivityFactory |
getActivityFactory()
Return the ActivityFactory to use for creating
Activity objects. |
ConnectionManager |
getConnectionManager()
Returns the connection manager this manager is associated with. |
Properties |
getDataResourceManagerProperties()
Return the properties of the configuration. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataResourceManagerConfigImpl(java.lang.String baseDir,
java.lang.String dataResourceConfigFile,
java.lang.String activityConfigFile)
throws java.lang.IllegalArgumentException,
CoreUserException,
CoreSystemException,
ConfigurationException
baseDir - - base directory to be used to create absolute
file names if the given file names are relative (can be
null).dataResourceConfigFile - - absolute or relative path
to data resource configuration file.activityConfigFile - - absolute or relative path to
activity configuration file.
java.lang.IllegalArgumentException - if
dataResourceConfigFile or
activityConfig is null.
CoreUserException - if the data resource configuration
file is invalid.
CoreUserException - if
ConnectionManager class named in data resource
configuration file cannot be found or other problematic
information has been provided by the user.
CoreSystemException - if
ConnectionManager class cannot be loaded
or other problems arise.
ConfigurationException - if there is a problem with the
activity configuration document.
CoreSystemException| Method Detail |
public ConnectionManager getConnectionManager()
getConnectionManager in interface DataResourceManagerConfigpublic Properties getDataResourceManagerProperties()
DataResourceManagerConfig
getDataResourceManagerProperties in interface DataResourceManagerConfigDataResourceManagerConfig.getDataResourceManagerProperties()public ActivityFactory getActivityFactory()
DataResourceManagerConfigActivityFactory to use for creating
Activity objects.
getActivityFactory in interface DataResourceManagerConfigActivityFactory
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||