Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12696

SerializationContextRegistryImpl should automatically register PERSISTENCE SCIs with Global context

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 12.0.0.Final
    • Marshalling
    • None
    • Undefined

      The GlOBAL context is a superset of the PERSISTENCE context, therefore if an internal SCI is registered with the PERSISTENCE context this should also be registered with the GLOBAL conmtext.

      Currently it's necessary for Infinispan modules to register with both manually. For example the MultiMap LifecycleManager has todo the following:

            ctxRegistry.addContextInitializer(SerializationContextRegistry.MarshallerType.PERSISTENCE, new PersistenceContextInitializerImpl());
            ctxRegistry.addContextInitializer(SerializationContextRegistry.MarshallerType.GLOBAL, new PersistenceContextInitializerImpl());
      

              remerson@redhat.com Ryan Emerson
              remerson@redhat.com Ryan Emerson
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: