Class DefaultClassCopiers
java.lang.Object
org.glassfish.pfl.dynamic.copyobject.impl.DefaultClassCopiers
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassCopierReturn a ClassCopier that always raises a ReflectiveCopyException whenever its copy method is called.static ClassCopierReturn a ClassCopier that simple returns its argument as its result.static ClassCopierReturn a ClassCopier that is suitable for instances of the Map interface.
-
Method Details
-
getIdentityClassCopier
Return a ClassCopier that simple returns its argument as its result. -
getErrorClassCopier
Return a ClassCopier that always raises a ReflectiveCopyException whenever its copy method is called. -
makeMapClassCopier
Return a ClassCopier that is suitable for instances of the Map interface. This should be limited to HashMap, Hashtable, IdentityHashMap, and TreeMap.
-