An interface through which the Data Binding Facility interacts with a Service.
An implementation of DataControl interface provides
generic adaptation for a Service and Model technology. For example,
a generic SessionBean DataControl can be written to handle interaction with any EJB
session beans.
The DataControl is to be implemented by someone who is familiar with the service
whose values and operations will be exposed to the view layer.
The DataControl is to be used exclusively by Tooling and the Data Binding facility
to adapt different Services. It is not to be used directly by the View or Controller
to access Services and Model.

Method Summary

java.lang.Object

getDataProvider()
Returns the Business Service Object that this datacontrol is associated with.

java.lang.String

getName()
Returns name to identify this datacontrol inside a BindingContext.

boolean

invokeOperation(java.util.Map bindingContext,
OperationBinding action)
All OperationBindings should first delegate to the DataControl associated
with the binding to perform the action.

invokeOperation

All OperationBindings should first delegate to the DataControl associated
with the binding to perform the action. DataControls may choose to interpret
a given action differently based on the data/collection that action is bound to.

Returns:

true if this datacontrol has handled this action, false if the action
should be interpreted in the bindings framework or in the caller.