org.glassfish.pfl.basic.proxy
Class CompositeInvocationHandlerImpl
java.lang.Object
org.glassfish.pfl.basic.proxy.CompositeInvocationHandlerImpl
- All Implemented Interfaces:
- Serializable, InvocationHandler, CompositeInvocationHandler
public class CompositeInvocationHandlerImpl
- extends Object
- implements CompositeInvocationHandler
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeInvocationHandlerImpl
public CompositeInvocationHandlerImpl()
addInvocationHandler
public void addInvocationHandler(Class<?> interf,
InvocationHandler handler)
- Description copied from interface:
CompositeInvocationHandler
- Add an invocation handler for all methods on interface interf.
- Specified by:
addInvocationHandler in interface CompositeInvocationHandler
setDefaultHandler
public void setDefaultHandler(InvocationHandler handler)
- Description copied from interface:
CompositeInvocationHandler
- Set the default invocation handler to use if none of the
invocation handlers added by calls to addInvocationHandler apply.
- Specified by:
setDefaultHandler in interface CompositeInvocationHandler
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke in interface InvocationHandler
- Throws:
Throwable
Copyright © 2013 Oracle. All Rights Reserved.