-
Bug
-
Resolution: Obsolete
-
Minor
-
None
-
JBossAS-4.0.5.GA, JBossAS-4.2.0.GA, JBossAS-4.2.3.GA
-
None
-
Documentation (Ref Guide, User Guide, etc.), Compatibility/Configuration
-
Low
-
Workaround Exists
-
The method "patternMatches" in "org.jboss.metadata.MethodAttributes" just stops at the first wildcard ("*") found and assumes that match is ok. Either this is a bug or the documentation ("http://docs.jboss.com/jbossas/guides/j2eeguide/r2/en/html_single/#d0e11084") should be changed and clearly inform that the wildcard must be the last character.
If you specify for example "*get" than all methods will be matched....