Models a reference to another bean.
| Legato. | Models a reference to another bean. |
| Properties | |
| target | {String} Name of the target bean. |
| Functions | |
| initialize | Constructs a new bean reference. |
| getInstance | Retrieves target bean from the bean factory. |
| Field | Creates a field reference relative to the target bean. |
| Legato. | |
| Properties | |
| reference | Reference to the target bean. |
| field | Name of the field of the target bean. |
| Functions | |
| initialize | Creates a new field reference. |
| getInstance | Value of the field of the target bean. |
| Configurable Components | |
| lb: | |
| Configurable Properties | |
| target | {String} Name of the referenced bean. |
getInstance : function( beanFactory )
Retrieves target bean from the bean factory.
Target bean from the bean factory.
| beanFactory | {Legato.Beans.BeanFactory} bean factory. |
Field : function( field )
Creates a field reference relative to the target bean.
{Legato.Beans.Reference.Field} Field reference relative to the target bean of this field reference.
| field | {String} name of the field. |
| Properties | |
| reference | Reference to the target bean. |
| field | Name of the field of the target bean. |
| Functions | |
| initialize | Creates a new field reference. |
| getInstance | Value of the field of the target bean. |
| Configurable Components | |
| lb: | |
| Configurable Properties | |
| target | {String} Name of the referenced bean. |
initialize : function( reference, field )
Creates a new field reference.
| reference | {Legato.Beans.Reference} reference to the target bean. |
| field | {String} name of the field. |
getInstance : function( beanFactory )
Value of the field of the target bean.
| beanFactory | {Legato.Beans.BeanFactory} bean factory. |
Constructs a new bean reference.
initialize : function( target )
Retrieves target bean from the bean factory.
getInstance : function( beanFactory )
Creates a field reference relative to the target bean.
Field : function( field )
Creates a new field reference.
initialize : function( reference, field )
Value of the field of the target bean.
getInstance : function( beanFactory )