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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Map
<Class<?>, InvocationHandler> private InvocationHandler
private static final long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addInvocationHandler
(Class<?> interf, InvocationHandler handler) Add an invocation handler for all methods on interface interf.void
setDefaultHandler
(InvocationHandler handler) Set the default invocation handler to use if none of the invocation handlers added by calls to addInvocationHandler apply.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
classToInvocationHandler
-
defaultHandler
-
-
Constructor Details
-
CompositeInvocationHandlerImpl
public CompositeInvocationHandlerImpl()
-
-
Method Details
-
addInvocationHandler
Description copied from interface:CompositeInvocationHandler
Add an invocation handler for all methods on interface interf.- Specified by:
addInvocationHandler
in interfaceCompositeInvocationHandler
-
setDefaultHandler
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 interfaceCompositeInvocationHandler
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-