There are two different representations:
1) The "compiler" representation like "java.lang.Object[]"
2) The "internal" representation like "[Ljava.lang.Object;"

Currently jBoss and J2EE RI only support the last one for
the <method-param> element.
But it looks like J2EE RI is going to also support the
first one. (See JDK bug #4345230).

While looking at the source for the class
org.jboss.metadata.MethodMetaData, I noticed that this
has a method patternMatches() that takes an array of
string representations of EJB method argument classes.

If not already done, we should agree to use one (and
only one) of the above representations throughout all
internal jBoss code.


Best Regards,

Ole Husgaard.

Reply via email to