[infinispan-dev] JAXB/XML part for ISPN-244

Galder Zamarreño galder at redhat.com
Tue Nov 30 09:34:47 EST 2010


On Nov 30, 2010, at 1:04 PM, Vladimir Blagojevic wrote:

> 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?

Sounds good to me :)

I think you just need to:
- fork my repo
- do the work on the branch
- send me a pull request for your commit(s)
- i'll integrate it

> 
> 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
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache




More information about the infinispan-dev mailing list