As long as it works... just do it.

--jason


On Tue, 3 Jul 2001, Aaron Mulder wrote:

>       So the EJB 1.1 and 2.0 PFD2 specs clarify that if you hava a
> method parameter that's an array, you list it in your DD with [].  (See
> the description for the method element in the DD.)  For example,
>
> <method-param>java.lang.String[]</method-param>
>
>       Unfortunately, JBoss doesn't recognize this, as the metadata
> classes just do a class.getName() on the method parameter when they
> compare it to the contents of the DD, so they are comparing
> [Ljava.lang.String (or whatever) to java.lang.String[] and it doesn't
> match.
>       It looks like the way to fix this is to update
> org.jboss.metadata.MethodMetaData.getClassNames() to handle array types
> properly and return the form with brackets at the end.  Any objections
> before I commit the change?
>
> Aaron
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
>


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to