adams.flow.webservice
Interface WebServiceProvider

All Known Implementing Classes:
AbstractWebServiceProvider, AbstractWebServiceProviderWithGlobalTransformer, CustomerServiceWS

public interface WebServiceProvider

Interface for webservice providers, i.e., the server side.

Version:
$Revision: 5353 $
Author:
fracpete (fracpete at waikato dot ac dot nz)

Method Summary
 AbstractActor getOwner()
          Returns the owning actor.
 String getURL()
          Returns the URL used for the service.
 void setOwner(AbstractActor value)
          Sets the actor that executes this webservice.
 String start()
          Starts the server.
 String stop()
          Stops the server.
 

Method Detail

setOwner

void setOwner(AbstractActor value)
Sets the actor that executes this webservice.

Parameters:
value - the owner

getOwner

AbstractActor getOwner()
Returns the owning actor.

Returns:
the owner

getURL

String getURL()
Returns the URL used for the service.

Returns:
the URL

start

String start()
Starts the server.

Returns:
null if successful, otherwise error message

stop

String stop()
Stops the server.

Returns:
null if successful, otherwise error message


Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.