public abstract class AbstractInvocationHandler extends Object implements InvocationHandler
Modifier | Constructor and Description |
---|---|
protected |
AbstractInvocationHandler(Supplier<Map> mapSupplier) |
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
doInvoke(Object proxy,
Method method,
Object[] args)
Default handler for method call.
|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
void |
onClose(Closeable closeable) |
public final Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
protected abstract Object doInvoke(Object proxy, Method method, Object[] args) throws InvocationTargetException, IllegalAccessException
public void onClose(Closeable closeable)
Copyright © 2020. All rights reserved.