context.arch.handler
Interface AsyncServiceHandler
- All Known Implementing Classes:
- InheritedService, WTourDemo
- public interface AsyncServiceHandler
This empty interface allows the ServiceHandlers class to keep track of
servic handlers. Any component that calls asynchronous services
should implement this interface.
- See Also:
AsyncServiceHandlers
asynchronousServiceHandle
public DataObject asynchronousServiceHandle(java.lang.String requestTag,
DataObject data)
throws InvalidMethodException,
MethodException
- This abstract method is used to generically handle the results from any
asynchronous service that a widget may support. An asynchronous service
will trigger this method to be called when the object implementing this
interface calls the remote asynchronous service.
- Parameters:
requestTag
- The requestTag used to identify the service requestdata
- DataObject containing the data for service execution- Returns:
- DataObject containing any directives to the service that was executed
- Throws:
- InvalidMethodException - if the specified callback can't be found
- MethodException - is thrown if the specified callback can not be
executed successfully