[infinispan-dev] JAXB/XML part for ISPN-244
Vladimir Blagojevic
vblagoje at redhat.com
Tue Nov 30 07:04:48 EST 2010
Hey Galder,
I think it is similar to loaders or interceptors. Can not remember of
top of my head what needs to be done but this can be done for sure. How
about the following - as a git exercise I'll pull in this topic branch
of yours, do my part with configuration, ensure that xml schema and
config generation work and then you finish your part and integrate it in
5.0/master?
Cheers,
Vladimir
On 10-11-30 5:45 AM, Galder Zamarreño wrote:
> Hi Vladimir,
>
> I'm working on https://jira.jboss.org/browse/ISPN-244 and I'm trying to figure out how to modify GlobalConfiguration class in order to enable XML configuration for this to be something along these lines:
>
> <serialization marshallerClass="org.infinispan.marshall.VersionAwareMarshaller" version="1.0">
> <marshallables>
> <marshallable id="9" typeClass="acme.SomePojo" externalizerClass="acme.SomePojoExternalizer" />
> <marshallable id="10" typeClass="acme.OtherPojo" externalizerClass="acme.OtherPojoExternalizer" />
> </marshallables>
> </serialization>
>
> I have an initial implementation of the JIRA in https://github.com/galderz/infinispan/tree/ispn244 and in there you can see what i've done so far, but basically, I've simply added some API to GC get the core of the JIRA working. Now I need to figure out how to transform it to allow XML like shown above, or any other alternative that you might be able to think. Looking around, I hadn't found an example of such XML configuration and how it'd map to our code, but looking again, I think what you did for loaders/loader in Cache configuration might be similar? WDYT?
>
> Cheers,
> --
> Galder Zamarreño
> Sr. Software Engineer
> Infinispan, JBoss Cache
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
More information about the infinispan-dev
mailing list