org.globus.ogsa.impl.base.providers.servicedata
Interface SimpleDataProvider

All Known Subinterfaces:
AsyncDataProvider, DOMDataProvider
All Known Implementing Classes:
SimpleScriptExecutionProvider

public interface SimpleDataProvider

Basic interface which all service data providers must implement.


Method Summary
 java.lang.String getDefaultArgs()
          If the provider has a set of default arguments, they can be retrieved with this function.
 java.lang.String getDescription()
          Returns a description of the provider's functionality.
 java.lang.String getErrorString()
          The provider should return a string representation of the current error, if any
 java.lang.String getName()
          Returns the display name of the provider.
 void run(java.lang.String args, java.io.OutputStream outStream)
          Triggers the execution of the provider, updating the provider's internal state and sending the output to the specified OutputStream.
 

Method Detail

getName

public java.lang.String getName()
Returns the display name of the provider.


getDescription

public java.lang.String getDescription()
Returns a description of the provider's functionality.


getDefaultArgs

public java.lang.String getDefaultArgs()
If the provider has a set of default arguments, they can be retrieved with this function.


getErrorString

public java.lang.String getErrorString()
The provider should return a string representation of the current error, if any


run

public void run(java.lang.String args,
                java.io.OutputStream outStream)
         throws java.lang.Exception
Triggers the execution of the provider, updating the provider's internal state and sending the output to the specified OutputStream.

Throws:
java.lang.Exception