|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceOperation
The ServiveOperation interface provides the core definition of the interface.
You will probably want to build on the BaseServiceOperation
adapter.
The main method of the interface is the
handleRequest
method.
Method Summary | |
---|---|
java.lang.String |
getDescription()
Get a description of the service operation, for use in service lists |
java.lang.String |
getName()
Get the full name of this service operation, i.e. |
ResourceResponse |
handleRequest(SDataRequest request,
AsyncStatusListener listener)
Handle the request |
void |
shutdown()
Release any resources allocated for this service operation. |
Method Detail |
---|
java.lang.String getName()
String
containing the full name of the service
operationjava.lang.String getDescription()
It defaults to the full name of this service operation, i.e. the operation name prefixed with resource name(s)
The description should be in the language required by the user
String
containing the description of the
service operationResourceResponse handleRequest(SDataRequest request, AsyncStatusListener listener)
request
- the SDataRequestlistener
- the asynchronous status listener that will listen for events and
status from the service operation
void shutdown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |