The com.ca.connector.runtime.OperationRunner interface contains the method declarations to monitor the progress of synchronous and asynchronous custom operations on the domain manager and connector. All methods in this interface are optional.
Important! While the connector framework supports custom operations, CA SOI does not currently use custom operations in integrated connectors. While these methods are available for implementation, the Sample connector does not contain sample code or implement any of these methods by default.
This interface contains the following methods:
Aborts the operation.
Defines the unique instance ID of a running operation obtained through an initial call to start().
Forgets the operation by indicating to the underlying system that the caller is no longer interested in the results, but that the operation does not necessarily need to be aborted.
Defines the unique instance ID of a running operation obtained through an initial call to start().
Recovers an operation by restarting it from the state previously saved in an intermediateState() callback to the listener. Some operations may simply restart, others may abort as a result, and others may be able to restart from the obtained state.
Defines the unique instance ID of a running operation obtained through an initial call to start().
Defines the last known operation state.
Listens for state changes related to the operation instance. This parameter can be null, and a listener can also register for the operation later.
Defines an ID understood by the caller.
Listens to ongoing operation state changes. The interface supports a single listener per runner. If more are required, you can use a simple multiplexer pattern.
Defines the unique instance ID of a running operation obtained through an initial call to start().
Defines an ID understood by the caller.
Listens for state changes related to the operation instance. This parameter can be null, and a listener can also register for the operation later.
|
Copyright © 2013 CA.
All rights reserved.
|
|