|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Map methods of subclasses generated by Enhancer
to a callback type.
The callback type chosen for each method affects the bytecode generated
for that method in the subclass, and will not change for the life of the
class.
Callbacks
Method Summary | |
int |
accept(java.lang.reflect.Method method)
Map a method to a callback type. |
boolean |
equals(java.lang.Object o)
The CallbackFilter in use affects which cached class
the Enhancer will use, so this is a reminder that you should correctly
implement equals and hashCode for custom
CallbackFilter implementations in order to improve performance. |
Method Detail |
public int accept(java.lang.reflect.Method method)
method
- the intercepted method
Callbacks
interfaceCallbacks
public boolean equals(java.lang.Object o)
CallbackFilter
in use affects which cached class
the Enhancer will use, so this is a reminder that you should correctly
implement equals
and hashCode
for custom
CallbackFilter implementations in order to improve performance.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |