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

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.
			
Properties
This component is not nillable.

Model
<lookup-method
  bean = xsd:string
  name = xsd:string>

</lookup-method>


Attribute Summary
 xsd:stringbean
          The name of the bean in the current or ancestor factories that the lookup method should resolve to. 
 xsd:stringname
          The name of the lookup method. 

Attribute Detail

bean

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.

Type:
xsd:string
Use:
optional
Form:
unqualified

name

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

Type:
xsd:string
Use:
optional
Form:
unqualified

Source
<xsd:element name="lookup-method">
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="xsd:anyType">
<xsd:attribute name="name" type="xsd:string">
</xsd:attribute>
<xsd:attribute name="bean" type="xsd:string">
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>


Submit a bug or a feature.
Created by xsddoc, a sub project of xframe, hosted at http://xframe.sourceforge.net.