public class BeanBinding extends AbstractBinding
| Constructor and Description |
|---|
BeanBinding(java.lang.String description,
ValueConverter valueConverter,
org.apache.hivemind.Location location,
IComponent component,
java.lang.String beanName) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getComponent()
Returns the component to which this binding is connected; this is currently only used when
building certain exceptions.
|
java.lang.Object |
getObject()
Returns the value of this binding.
|
boolean |
isInvariant()
Beans obtained via the binding should *not* be cached by the component because beans may be
discarded inside the
BeanProvider based on the life cycle of
the bean. |
createReadOnlyBindingException, extendDescription, getDescription, getLocation, getObject, getValueConverter, setObject, toStringpublic BeanBinding(java.lang.String description, ValueConverter valueConverter, org.apache.hivemind.Location location, IComponent component, java.lang.String beanName)
public boolean isInvariant()
BeanProvider based on the life cycle of
the bean. The BeanProvider caches beans as well.isInvariant in interface IBindingisInvariant in class AbstractBindingpublic java.lang.Object getComponent()
AbstractBindinggetComponent in class AbstractBinding