Interface PipelineClassCopierFactory

All Superinterfaces:
ClassCopierFactory
All Known Implementing Classes:
ClassCopierFactoryPipelineImpl

public interface PipelineClassCopierFactory extends ClassCopierFactory
A factory used for creating ClassCopier instances.
  • Method Details

    • lookupInCache

      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.
    • registerImmutable

      void registerImmutable(Class<?> cls)
      Mark this class as immutable, so that it is not copied at all.
    • setSpecialClassCopierFactory

      void setSpecialClassCopierFactory(ClassCopierFactory ccf)
      Add a special ClassCopierFactory into the chain so that it handles some special cases.
    • reflectivelyCopyable

      boolean reflectivelyCopyable(Class<?> cls)
      Added this method so reflective copier could check if serializable object contains a transient field of specific type.