uk.org.ogsadai.activity.request
Interface RequestConfiguration

All Known Implementing Classes:
OGSADAIChildRequestConfiguration, OGSADAIRequestConfiguration

public interface RequestConfiguration

Provides access to the configuration of an activity framework request.

Author:
The OGSA-DAI Project Team.

Method Summary
 boolean allowPrivateResources()
          Indicates whether hidden resources can be used in the workflow.
 ActivityFactory getActivityFactory()
          Gets the factory for creating new activities.
 ActivityListener getActivityListener()
          Gets the listener interface for receiving all activity events associated with this request.
 BlockReaderListener[] getBlockReaderListeners()
          Gets the block reader event listeners.
 ResourceID getDRER()
          Execution resource that received and executes the request.
 PipeManager getPipeManager()
          Gets the pipe manager for the request.
 ResourceID getRequestID()
          Returns the ID of the request resource.
 RequestStatusBuilder getRequestStatusBuilder()
          Gets the request status builder for the request.
 SecurityContext getSecurityContext()
          Get the security context associated with the request.
 ResourceID getSessionID()
          Returns the ID of the session within which the request is processed.
 TaskFactory getTaskFactory()
          Get the task factory for the request.
 TaskProcessingService getTaskProcessingService()
          Gets the task processing service.
 WorkflowAuthorizer getWorkflowAuthorizer()
          Gets the workflow authorizer to use to authorize workflows executed at runtime from activities.
 WorkflowProcessor getWorkflowProcessor()
          Gets the processor used to process workflows.
 

Method Detail

getRequestID

ResourceID getRequestID()
Returns the ID of the request resource.

Returns:
request ID.

getSessionID

ResourceID getSessionID()
Returns the ID of the session within which the request is processed.

Returns:
the session ID.

getTaskFactory

TaskFactory getTaskFactory()
Get the task factory for the request.

Returns:
task factory.

getTaskProcessingService

TaskProcessingService getTaskProcessingService()
Gets the task processing service.

Returns:
a task processing service.

getActivityFactory

ActivityFactory getActivityFactory()
Gets the factory for creating new activities.

Returns:
activity factory.

getSecurityContext

SecurityContext getSecurityContext()
Get the security context associated with the request.

Returns:
security context.

getActivityListener

ActivityListener getActivityListener()
Gets the listener interface for receiving all activity events associated with this request.

Returns:
activity listener.

getPipeManager

PipeManager getPipeManager()
Gets the pipe manager for the request.

Returns:
pipe manager.

getRequestStatusBuilder

RequestStatusBuilder getRequestStatusBuilder()
Gets the request status builder for the request.

Returns:
request status builder.

getWorkflowProcessor

WorkflowProcessor getWorkflowProcessor()
Gets the processor used to process workflows.

Returns:
workflow processor.

getWorkflowAuthorizer

WorkflowAuthorizer getWorkflowAuthorizer()
Gets the workflow authorizer to use to authorize workflows executed at runtime from activities.

Returns:
workflow authorizer.

getBlockReaderListeners

BlockReaderListener[] getBlockReaderListeners()
Gets the block reader event listeners.

Returns:
the array of block reader event listeners. This may be an empty array if there are no block reader listeners.

getDRER

ResourceID getDRER()
Execution resource that received and executes the request.

Returns:
ID of the DRER that executes the request.

allowPrivateResources

boolean allowPrivateResources()
Indicates whether hidden resources can be used in the workflow.

Returns:
true if hidden resources can be used, false otherwise.