Class ClassCopierOrdinaryImpl
java.lang.Object
org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierBase
org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl
- All Implemented Interfaces:
ClassCopier
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierBase
copy, equals, hashCode, isReflectiveClassCopier, toString
-
Constructor Details
-
ClassCopierOrdinaryImpl
public ClassCopierOrdinaryImpl(PipelineClassCopierFactory ccf, Class<?> cls) throws ReflectiveCopyException - Throws:
ReflectiveCopyException
-
-
Method Details
-
setCodegenCopierAllowed
public static void setCodegenCopierAllowed(boolean flag) -
createCopy
Description copied from class:ClassCopierBaseCreate a copy of source. The copy may or may not be fully initialized. This method must always be overridden in a subclass.- Specified by:
createCopyin classClassCopierBase- Throws:
ReflectiveCopyException
-
doCopy
public Object doCopy(Map<Object, Object> oldToNew, Object source, Object result) throws ReflectiveCopyExceptionDescription copied from class:ClassCopierBaseDo the copying of data from source to result. This just returns the result by default, but it may be overrideden in a subclass. When this method completes, result must be fully initialized.- Overrides:
doCopyin classClassCopierBase- Throws:
ReflectiveCopyException
-