public interface RemoteCancellableExecutable extends RemoteExecutable
When a EJB job request is cancelled, Oracle Enterprise Scheduler
determines if the job class implements the
RemoteCancellableExecutable
interface, and if so, calls the
cancel
method to notify the client class of the
request cancellation.
The job implementation is responsible for stopping the remote execution.
Modifier and Type | Method and Description |
---|---|
void |
cancel(RequestExecutionContext context,
RequestParameters requestParams)
Invoked by Enterprise Scheduler when a ejb job request is cancelled.
|
execute
void cancel(RequestExecutionContext context, RequestParameters requestParams)
context
- the request execution contextrequestParams
- the request parameters