| FUSE ESB 4.2 XML Configuration Reference | ||||||
| SUMMARY: DOCUMENTATION | ATTRIBUTES | FRAMES | NO FRAMES | ||||||
A lookup method causes the IoC container to override the given method and return the bean with the name given in the bean attribute. This is a form of Method Injection. It is particularly useful as an alternative to implementing the BeanFactoryAware interface, in order to be able to make getBean() calls for non-singleton instances at runtime. In this case, Method Injection is a less invasive alternative.
| Attribute Summary | |
string | bean
The name of the bean in the current or ancestor factories that the lookup method should resolve to. |
string | name
The name of the lookup method. |
| Attribute Detail |
The name of the bean in the current or ancestor factories that the lookup method should resolve to. Often this bean will be a prototype, in which case the lookup method will return a distinct instance on every invocation. This is useful for single-threaded objects.
Defined with global type string
The name of the lookup method. This method must take no arguments.
Defined with global type string
| FUSE ESB 4.2 XML Configuration Reference | ||||||
| SUMMARY: DOCUMENTATION | ATTRIBUTES | FRAMES | NO FRAMES | ||||||