Class ReflectObjectCopierImpl
java.lang.Object
com.sun.corba.ee.impl.copyobject.ReflectObjectCopierImpl
- All Implemented Interfaces:
org.glassfish.pfl.dynamic.copyobject.spi.ObjectCopier
public class ReflectObjectCopierImpl
extends Object
implements org.glassfish.pfl.dynamic.copyobject.spi.ObjectCopier
Class used to deep copy arbitrary data. A single
ReflectObjectCopierImpl
instance will preserve all object aliasing across multiple calls
to copy.
-
Constructor Summary
ConstructorsConstructorDescriptionCreate an ReflectObjectCopierImpl for the given ORB. -
Method Summary
-
Constructor Details
-
ReflectObjectCopierImpl
Create an ReflectObjectCopierImpl for the given ORB. The orb is used for connection Remote instances.- Parameters:
orb- ORB to use for remote instances
-
-
Method Details
-
copy
public Object copy(Object obj) throws org.glassfish.pfl.dynamic.copyobject.spi.ReflectiveCopyException Return a deep copy of obj. Aliasing is preserved within obj and between objects passed in multiple calls to the same instance of ReflectObjectCopierImpl.- Specified by:
copyin interfaceorg.glassfish.pfl.dynamic.copyobject.spi.ObjectCopier- Throws:
org.glassfish.pfl.dynamic.copyobject.spi.ReflectiveCopyException
-
copy
-