public class ListenerBindingFactory extends AbstractBindingFactory
ListenerMethodBinding
, mapped to the "listener:"
prefix.Constructor and Description |
---|
ListenerBindingFactory() |
Modifier and Type | Method and Description |
---|---|
IBinding |
createBinding(IComponent root,
java.lang.String description,
java.lang.String expression,
org.apache.hivemind.Location location)
Creates a new binding instance.
|
getValueConverter, setValueConverter
public ListenerBindingFactory()
public IBinding createBinding(IComponent root, java.lang.String description, java.lang.String expression, org.apache.hivemind.Location location)
BindingFactory
root
- the component that is the source of properties or messages (or etc.). When the
path is "evaluated", the root component provides a context.expression
- The expression used to get (or update) a value. The interpretation of this
expression is determined by the type of IBinding
created by this factory.
In some cases, it is simple the name of an object contained by the root component.
For the common "ognl:" binding prefix, it is an OGNL expression to be evaluated on
the root object.location
- The location of the binding, used to report any errors related to the binding, or
to the component parameter the binding is bound to.