Package org.glassfish.pfl.basic.proxy
Class CompositeInvocationHandlerImpl
java.lang.Object
org.glassfish.pfl.basic.proxy.CompositeInvocationHandlerImpl
- All Implemented Interfaces:
Serializable,InvocationHandler,CompositeInvocationHandler
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInvocationHandler(Class<?> interf, InvocationHandler handler) Add an invocation handler for all methods on interface interf.voidsetDefaultHandler(InvocationHandler handler) Set the default invocation handler to use if none of the invocation handlers added by calls to addInvocationHandler apply.
-
Constructor Details
-
CompositeInvocationHandlerImpl
public CompositeInvocationHandlerImpl()
-
-
Method Details
-
addInvocationHandler
Description copied from interface:CompositeInvocationHandlerAdd an invocation handler for all methods on interface interf.- Specified by:
addInvocationHandlerin interfaceCompositeInvocationHandler
-
setDefaultHandler
Description copied from interface:CompositeInvocationHandlerSet the default invocation handler to use if none of the invocation handlers added by calls to addInvocationHandler apply.- Specified by:
setDefaultHandlerin interfaceCompositeInvocationHandler
-
invoke
- Specified by:
invokein interfaceInvocationHandler- Throws:
Throwable
-