Also: SpringBeans
public interface

MethodReplacer

org.springframework.beans.factory.support.MethodReplacer

Class Overview

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.

Summary

Public Methods
abstract Object reimplement(Object obj, Method method, Object[] args)
Reimplement the given method.

Public Methods

public abstract Object reimplement (Object obj, Method method, Object[] args)

Also: SpringBeans

Reimplement the given method.

Parameters
obj the instance we're reimplementing the method for
method the method to reimplement
args arguments to the method
Returns
  • return value for the method
Throws
Throwable