ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  JBoss Optimizations 101
Subject:   Method specificity
Date:   2003-07-29 06:21:11
From:   anonymous2
How will JBoss handle patterns and specific methods? According to my tests with JBoss 3.2.1, getNotReadOnly will become be read-only in following configuration.
Are there any specification of specificity?


...
<method-attributes>
<method>
<method-name>get*</method-name>
<read-only>true</read-only>
</method>
<method>
<method-name>getNotReadOnly</method-name>
<read-only>false</read-only>
</method>
<method-attributes>
...


Cheers
Jesper Thaning
thaning at cookingwise.dk