public interface PipelineClassCopierFactory extends ClassCopierFactory
Modifier and Type | Method and Description |
---|---|
ClassCopier |
lookupInCache(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 |
setSpecialClassCopierFactory(ClassCopierFactory ccf)
Add a special ClassCopierFactory into the chain so that
it handles some special cases.
|
getClassCopier
ClassCopier lookupInCache(Class<?> cls)
void registerImmutable(Class<?> cls)
void setSpecialClassCopierFactory(ClassCopierFactory ccf)
boolean reflectivelyCopyable(Class<?> cls)
Copyright © 2017 Oracle. All rights reserved.