Class InvocationHandlerFactoryImpl.CustomCompositeInvocationHandlerImpl
- java.lang.Object
-
- org.glassfish.pfl.basic.proxy.CompositeInvocationHandlerImpl
-
- com.sun.corba.ee.impl.presentation.rmi.InvocationHandlerFactoryImpl.CustomCompositeInvocationHandlerImpl
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.reflect.InvocationHandler
,org.glassfish.pfl.basic.proxy.CompositeInvocationHandler
,org.glassfish.pfl.basic.proxy.LinkedInvocationHandler
- Enclosing class:
- InvocationHandlerFactoryImpl
private static class InvocationHandlerFactoryImpl.CustomCompositeInvocationHandlerImpl extends org.glassfish.pfl.basic.proxy.CompositeInvocationHandlerImpl implements org.glassfish.pfl.basic.proxy.LinkedInvocationHandler, java.io.Serializable
-
-
Field Summary
Fields Modifier and Type Field Description private DynamicStub
stub
-
Constructor Summary
Constructors Constructor Description CustomCompositeInvocationHandlerImpl(DynamicStub stub)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.Proxy
getProxy()
void
setProxy(java.lang.reflect.Proxy proxy)
java.lang.Object
writeReplace()
Return the stub, which will actually be written to the stream.-
Methods inherited from class org.glassfish.pfl.basic.proxy.CompositeInvocationHandlerImpl
addInvocationHandler, invoke, setDefaultHandler
-
-
-
-
Field Detail
-
stub
private transient DynamicStub stub
-
-
Constructor Detail
-
CustomCompositeInvocationHandlerImpl
public CustomCompositeInvocationHandlerImpl(DynamicStub stub)
-
-
Method Detail
-
setProxy
public void setProxy(java.lang.reflect.Proxy proxy)
- Specified by:
setProxy
in interfaceorg.glassfish.pfl.basic.proxy.LinkedInvocationHandler
-
getProxy
public java.lang.reflect.Proxy getProxy()
- Specified by:
getProxy
in interfaceorg.glassfish.pfl.basic.proxy.LinkedInvocationHandler
-
writeReplace
public java.lang.Object writeReplace() throws java.io.ObjectStreamException
Return the stub, which will actually be written to the stream. It will be custom marshaled, with the actual writing done in StubIORImpl. There is a corresponding readResolve method on DynamicStubImpl which will re-create the full invocation handler on read, and return the invocation handler on the readResolve method.- Throws:
java.io.ObjectStreamException
-
-