|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.cglib.SimpleCallbacks
A trivial implementation of the Callbacks
interface.
Field Summary |
Fields inherited from interface net.sf.cglib.Callbacks |
DISPATCH, INTERCEPT, JDK_PROXY, LAZY_LOAD, MAX_VALUE, NO_OP |
Constructor Summary | |
SimpleCallbacks()
|
Method Summary | |
Callback |
get(int type)
Return the actual Callback implementation for the specified callback type. |
void |
set(int type,
Callback callback)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleCallbacks()
Method Detail |
public Callback get(int type)
Callbacks
Callback
implementation for the specified callback type.
get
in interface Callbacks
type
- the callback type
public void set(int type, Callback callback)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |