Interface PipelineClassCopierFactory
- All Superinterfaces:
ClassCopierFactory
- All Known Implementing Classes:
ClassCopierFactoryPipelineImpl
A factory used for creating ClassCopier instances.
-
Method Summary
Modifier and TypeMethodDescriptionlookupInCache
(Class<?> cls) Look for cls only in the cache; do not create a ClassCopier if there isn't one already in the cache.boolean
reflectivelyCopyable
(Class<?> cls) Added this method so reflective copier could check if serializable object contains a transient field of specific type.void
registerImmutable
(Class<?> cls) Mark this class as immutable, so that it is not copied at all.void
Add a special ClassCopierFactory into the chain so that it handles some special cases.Methods inherited from interface org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierFactory
getClassCopier
-
Method Details
-
lookupInCache
Look for cls only in the cache; do not create a ClassCopier if there isn't one already in the cache. -
registerImmutable
Mark this class as immutable, so that it is not copied at all. -
setSpecialClassCopierFactory
Add a special ClassCopierFactory into the chain so that it handles some special cases. -
reflectivelyCopyable
Added this method so reflective copier could check if serializable object contains a transient field of specific type.
-