public abstract class WeakListener<Src,Listener>
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
Modifier | Constructor and Description |
---|---|
protected |
WeakListener(Src source,
java.lang.Class<Listener> listenerInterface,
Listener listenerImpl) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
addListener(Src source,
Listener listener) |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] params) |
protected abstract void |
removeListener(Src source,
Listener listener) |