Top Description Methods
org.springframework.beans.factory.support

public Interface MethodReplacer

Imports
java.lang.reflect.Method

Interface to be implemented by classes that can reimplement any method on an IoC-managed object: the Method Injection form of Dependency Injection.

Such methods may be (but need not be) abstract, in which case the container will create a concrete subclass to instantiate.

Author
Rod Johnson
Since
1.1

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

return value for the method
reimplement
(Object
the instance we're reimplementing the method for
obj
,
Method
the method to reimplement
method
,
Object[]
arguments to the method
args
)

Reimplement the given method.

Method Detail

reimplementback to summary
public Object reimplement(Object obj, Method method, Object[] args) throws Throwable

Reimplement the given method.

Parameters
obj:Object

the instance we're reimplementing the method for

method:Method

the method to reimplement

args:Object[]

arguments to the method

Returns:Object

return value for the method