Class InvocationHandlerFactoryImpl.CustomCompositeInvocationHandlerImpl

java.lang.Object
org.glassfish.pfl.basic.proxy.CompositeInvocationHandlerImpl
com.sun.corba.ee.impl.presentation.rmi.InvocationHandlerFactoryImpl.CustomCompositeInvocationHandlerImpl
All Implemented Interfaces:
Serializable, 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, Serializable
  • Field Details

  • Constructor Details

    • CustomCompositeInvocationHandlerImpl

      public CustomCompositeInvocationHandlerImpl(DynamicStub stub)
  • Method Details

    • setProxy

      public void setProxy(Proxy proxy)
      Specified by:
      setProxy in interface org.glassfish.pfl.basic.proxy.LinkedInvocationHandler
    • getProxy

      public Proxy getProxy()
      Specified by:
      getProxy in interface org.glassfish.pfl.basic.proxy.LinkedInvocationHandler
    • writeReplace

      public Object writeReplace() throws 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:
      ObjectStreamException