uk.org.ogsadai.service.resource.config
Interface DSRComponentFactory

All Known Implementing Classes:
FileBasedDSRComponentFactory

public interface DSRComponentFactory

Abstruct Factory interface used in the creation of all the components required to construct a data service resource.

Author:
OGSA-DAI team

Method Summary
 ActivitiesConfig getActivityConfiguration()
          Gets the activity configuration details for a data service resource.
 DataResourceAccessor getDataResourceAccessor()
          Gets the data resource accessor for the data service resource.
 SessionComponentFactory getSessionComponentFactory()
          Gets the sessions component factory that can be used to create the session componets to be used with the data service resource.
 

Method Detail

getActivityConfiguration

public ActivitiesConfig getActivityConfiguration()
                                          throws DAIException
Gets the activity configuration details for a data service resource.

Returns:
The activity configuration details.
Throws:
DAIException - If there is an error creating the activity configuration.

getDataResourceAccessor

public DataResourceAccessor getDataResourceAccessor()
                                             throws DAIException
Gets the data resource accessor for the data service resource.

Returns:
The data resource accessor.
Throws:
DAIException - If there is an error creating the activity configuration.

getSessionComponentFactory

public SessionComponentFactory getSessionComponentFactory()
                                                   throws DAIException
Gets the sessions component factory that can be used to create the session componets to be used with the data service resource.

Returns:
The session component factory.
Throws:
DAIException - If there is an error creating the session coordinator.