FUSE ESB 4.2 XML Configuration Reference

http://www.springframework.org/schema/beans
element lookup-method

Model
<lookup-method
  bean = string
  name = string
/>
Disallowed substitutions (block)
none (extensions, restrictions and substitutions are allowed)
Substitution group exclusion (final)
none (extensions and restrictions are allowed)
Content Type
empty, not nillable.
Usage
This element can be the root element of XML instance documents.
This element can be the child of element bean.
Documentation
	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
stringbean
          The name of the bean in the current or ancestor factories that the lookup method should resolve to.
stringname
          The name of the lookup method.

Attribute Detail

bean

Documentation
	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.
							
Definition

Defined with global type string

Model
string
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse

name

Documentation
	The name of the lookup method. This method must take no arguments.
							
Definition

Defined with global type string

Model
string
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse

FUSE ESB 4.2 XML Configuration Reference

FUSE ESB 4.2 XML Configuration Reference