Interface ClassCopierFactory
-
- All Known Subinterfaces:
CachingClassCopierFactory,PipelineClassCopierFactory
- All Known Implementing Classes:
ClassCopierFactoryArrayImpl,ClassCopierFactoryPipelineImpl
public interface ClassCopierFactoryA factory used for creating ClassCopier instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassCopiergetClassCopier(java.lang.Class<?> cls)Return the ClassCopier instance for a particular class.
-
-
-
Method Detail
-
getClassCopier
ClassCopier getClassCopier(java.lang.Class<?> cls) throws ReflectiveCopyException
Return the ClassCopier instance for a particular class. The resulting ClassCopier may be used to copy an instance of type cls. Note that it is an error to pass an interface for cls, as interfaces have no state and no constructors, and hence cannot be copied.- Throws:
ReflectiveCopyException
-
-