spring-framework / org.springframework.beans.factory.support / MethodReplacer

MethodReplacer

interface MethodReplacer

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

Functions

reimplement

abstract fun reimplement(obj: Any, method: Method, args: Array<Any>): Any

Reimplement the given method.