[JBoss JIRA] (ISPN-10549) Provide Externalizer aware Serialization marshaller as default user marshaller
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-10549?page=com.atlassian.jira.plugin... ]
Ryan Emerson closed ISPN-10549.
-------------------------------
Resolution: Won't Fix
As the protostream marshaller will be the default for Embedded mode, https://issues.jboss.org/browse/ISPN-10591, this is no longer necessary. If a user requires Externalizers to be respected by the PersistenceMarshaller then the `infinispan-jboss-marshalling` module must be added to the classpath.
> Provide Externalizer aware Serialization marshaller as default user marshaller
> ------------------------------------------------------------------------------
>
> Key: ISPN-10549
> URL: https://issues.jboss.org/browse/ISPN-10549
> Project: Infinispan
> Issue Type: Sub-task
> Components: Marshalling
> Affects Versions: 10.0.0.CR1
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.0.CR2
>
>
> In ISPN-10354 we removed jboss-marshalling from the core and made {{JavaSerializationMarshaller}} the default user marshaller instead of {{JBossUserMarshaller}}. Consequently, externalizers are only respected by the {{GlobalMarshaller}}, meaning that when store's marshall objects via {{InitializationContext::getPersistenceMarshaller}} any user configured externalizers are not used for serialising user types.
> We should provide a {{ExternalizerAwareSerializationMarshaller}} that first tries to serialize user types via any configured externalizers before defaulting to java Serialization.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 3 months
[JBoss JIRA] (ISPN-10548) Remove UserMarshallerWhiteList
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-10548?page=com.atlassian.jira.plugin... ]
Ryan Emerson resolved ISPN-10548.
---------------------------------
Resolution: Done
> Remove UserMarshallerWhiteList
> ------------------------------
>
> Key: ISPN-10548
> URL: https://issues.jboss.org/browse/ISPN-10548
> Project: Infinispan
> Issue Type: Sub-task
> Components: Core
> Affects Versions: 10.0.0.CR1
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.0.CR2
>
>
> ISPN-10345 Introduced the UserMarshallerWhiteList for adding exceptions the serialization ClassWhiteList for internal types. This should not be necessary if our tests are updated to utilise Externalizers and the Number.class is added to `ClassWhiteList.SYS_ALLOWED_CLASSES`.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 3 months
[JBoss JIRA] (ISPN-10505) Allow multiple SerializationContextInitializers to be provided via configuration
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-10505?page=com.atlassian.jira.plugin... ]
Ryan Emerson resolved ISPN-10505.
---------------------------------
Resolution: Done
> Allow multiple SerializationContextInitializers to be provided via configuration
> --------------------------------------------------------------------------------
>
> Key: ISPN-10505
> URL: https://issues.jboss.org/browse/ISPN-10505
> Project: Infinispan
> Issue Type: Sub-task
> Components: Core
> Affects Versions: 10.0.0.CR1
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.0.Final
>
>
> Currently it's only possible to provide a single SerializationContextInitializer, in hindsight it would be better if multiple implementations could be specified with the configuration occurring on the CacheManager not per cache.
> Currently the SCI is provided as an attribute, if multiple are supported we should probably provide these as multiple elements.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 3 months