uk.org.ogsadai.engine
Interface EngineConfiguration

All Known Implementing Classes:
EngineConfigurationImpl

public interface EngineConfiguration

This interface through which a RequestEngine is configured.

Author:
The OGSA-DAI Project Team

Method Summary
 DataResourceAccessor getDataResourceAccessor()
          Gets the DataResourceAccessor object that will be available to the ActivityEngine.
 int getMaxQueueLength()
          Returns the maximum queue length as an int.
 int getMaxRequests()
          Returns the maximum number of requests as an int.
 long getRequestProcessingTimeout()
          Returns the request processing timeout as a long.
 SessionCoordinator getSessionCoordinator()
          Gets the session coordinator that will be used by the engine for joining and releasing requests to and from sessions.
 void setDataResourceAccessor(DataResourceAccessor dataResourceAccessor)
          Sets the DataResourceAccessor object that will be available to the ActivityEngine for accessing the data service's underlying data resource.
 

Method Detail

getDataResourceAccessor

public DataResourceAccessor getDataResourceAccessor()
Gets the DataResourceAccessor object that will be available to the ActivityEngine.

Returns:
A DataResourceAccessor for accessing an underlying data resource.

getMaxQueueLength

public int getMaxQueueLength()
Returns the maximum queue length as an int.


getMaxRequests

public int getMaxRequests()
Returns the maximum number of requests as an int.


getRequestProcessingTimeout

public long getRequestProcessingTimeout()
Returns the request processing timeout as a long.


getSessionCoordinator

public SessionCoordinator getSessionCoordinator()
Gets the session coordinator that will be used by the engine for joining and releasing requests to and from sessions.

Returns:
a SessionCoordinator

setDataResourceAccessor

public void setDataResourceAccessor(DataResourceAccessor dataResourceAccessor)
Sets the DataResourceAccessor object that will be available to the ActivityEngine for accessing the data service's underlying data resource.

Parameters:
dataResourceAccessor - A DataResourceAccessor object.
Throws:
java.lang.IllegalArgumentException - If dataResourceAccessor is null.