geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Jiang <>
Subject Re: How do annotation String array descriptions relate to xml descriptor language-plus-string descriptions?
Date Mon, 15 Mar 2010 08:18:44 GMT
I don't know this either.

But, IMO,  If the language attribute was added to support multiple language
description.  The getter should  return a Map<String lang, String
description> instead a simple String[].

On Mon, Mar 15, 2010 at 1:58 PM, David Jencks <>wrote:

> In the common xml goo for ee6 there's a description group which has e.g. a
> description element which has a language attribute and text content.  In the
> Connector annotation there's a corresponding description getter which
> returns a String[]
> Does anyone know how these relate, i.e. is the language encoded in the
> description string somehow?  I haven't located any bits of spec that discuss
> this...
> thanks
> david jencks


View raw message