Hmm - lets have a think about this. Can't say I like having the <module> tag
exposed to end users.
So I guess the alternative is to have module-specific config beans in the core module?
E.g., move the QueryConfiguration to the core package, and then we could have something
like the following?
<infinispan>
<namedCache name="blah">
<indexing enabled="true" localOnly="false" />
</>
</>
Cheers
Manik
----- Original Message -----
From: "Vladimir Blagojevic" <vblagoje(a)redhat.com>
To: "infinispan -Dev List" <infinispan-dev(a)lists.jboss.org>
Sent: Friday, 6 November, 2009 18:46:20 GMT +00:00 GMT Britain, Ireland, Portugal
Subject: Re: [infinispan-dev] Module configuration proposal
Can't have just arbitrary elements in cache element since schema
constrains it.
We need at least one parent element whose children are arbitrary.
I'll see if I can make:
<infinispan>
<namedCache name="blah">
<module name="query">
<indexing enabled="true" localOnly="false" />
</module>
<module name="tree">
<blah blah="true" blah="false" />
</module>
</>
</>
Just as it is now, but without<modules> being parent of<module>.
On 09-11-06 9:57 AM, Manik Surtani wrote:
> Ideally, something as simple as:
>
<infinispan>
<namedCache name="blah">
<indexing enabled="true" localOnly="false" />
</>
</>
>
> Sent from my iPhone
>
> On 6 Nov 2009, at 14:18, Vladimir Blagojevic<vblagoje(a)redhat.com>
> wrote:
>
>
>> On 09-11-06 6:37 AM, Manik Surtani wrote:
>>
>>> A couple of comments re 193:
>>>
>>> How would you set this stuff programmatically? Conf.setQueryConfig
>>> (qc) ?
>>>
>>> Also, are the<module> tags and the<query:> prefix necessary
in the
>>> XML config? Any clever way to do without these, since the queryconfig
>>> bean is detected at the beginning and doesn't have to be loaded when
>>> specific tags are encountered, right?
>>>
>>> Cheers
>>> Manik
>>>
>>>
>> We can make it programmatic, no problem.
>>
>> Prefix, we have to keep since JAXB forces it. We can avoid its usage
>> if we manually change generated schema.
>>
>> How would you ideally align these tags?
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev