|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public 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.
Method Summary | |
---|---|
java.lang.Object |
reimplement(java.lang.Object obj,
java.lang.reflect.Method method,
java.lang.Object[] args)
Reimplement the given method. |
Method Detail |
---|
java.lang.Object reimplement(java.lang.Object obj, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
obj
- the instance we're reimplementing the method formethod
- the method to reimplementargs
- arguments to the method
java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |