Class OldReflectObjectCopierImpl

java.lang.Object
com.sun.corba.ee.impl.copyobject.OldReflectObjectCopierImpl
All Implemented Interfaces:
org.glassfish.pfl.dynamic.copyobject.spi.ObjectCopier

public class OldReflectObjectCopierImpl extends Object implements org.glassfish.pfl.dynamic.copyobject.spi.ObjectCopier
Provides the functionality of copying objects using reflection. NOTE: Currently the implementation does not implement this copying functionality for objects which have fields whose types are based on inner classes. If for any reason copying cannot be done using reflection it uses the original ORB serialization to implement the copying
  • Constructor Details

    • OldReflectObjectCopierImpl

      public OldReflectObjectCopierImpl(ORB orb)
  • Method Details

    • isImmutable

      public static boolean isImmutable(String classname)
    • copy

      public Object copy(Object obj, boolean debug) throws org.glassfish.pfl.dynamic.copyobject.spi.ReflectiveCopyException
      Throws:
      org.glassfish.pfl.dynamic.copyobject.spi.ReflectiveCopyException
    • copy

      public Object copy(Object obj) throws org.glassfish.pfl.dynamic.copyobject.spi.ReflectiveCopyException
      Specified by:
      copy in interface org.glassfish.pfl.dynamic.copyobject.spi.ObjectCopier
      Throws:
      org.glassfish.pfl.dynamic.copyobject.spi.ReflectiveCopyException