commonj.connector.runtime
Interface BindingRegistry
- All Superinterfaces:
- Serializable
public interface BindingRegistry
- extends Serializable
The BindingRegistry provides retrieval of configured DataBinding, DataHandler
or FunctionSelector.
- Since:
- 1.1
Method Summary |
Object |
locateBinding(QName name,
Map bindingContext)
Retrieves the specified configured DataBinding, DataHandler or FunctionSelector. |
locateBinding
Object locateBinding(QName name,
Map bindingContext)
throws BindingException
- Retrieves the specified configured DataBinding, DataHandler or FunctionSelector.
The invoker is responsible for passing its BindingContext. If the invoker is
the binding then it must create the BindingContext.
- Parameters:
name
- specifies the reference name for a configured DataBinding, DataHandler
or FunctionSelector.bindingContext
- is the current bindingContext. A copy of the BindingContext
will be made and set on the returned DataBinding, DataHandler or FunctionSelector
if they implement the BindingContext interface.
- Returns:
- the configured DataBinding, DataHandler or FunctionSelector. If it implements
the BindingContext interface then it will have a copy of the BindingContext set. If there
is a JavaBean with configuration properties, the BindingContext will have it set in
the
BindingContext.BINDING_CONFIGURATION
property of the BindingContext.
- Throws:
BindingException
- if an error occurs during execution.