[jboss-user] [Management, JMX/JBoss] - property replacement in mbean descriptor files

georgeIsAngry do-not-reply at jboss.com
Thu May 24 17:39:53 EDT 2007


I have an mbean descriptor file with the following:

  
  | <attribute access="read-write" 
  |               getMethod="getReminderFrequency" 
  |               setMethod="setReminderFrequency">
  |     <description>blah</description>
  |     <name>ReminderFrequency</name>
  |     <type>long</type>
  |     <descriptors>
  |       <persistence/>
  |       <default value="${app.reminderFrequency}" />
  |     </descriptors>
  |   </attribute>

The problem is that the string property replacement is not happening.
It looks like the JBossXMBean clas is using a default PropertyEditor 
instead of using the StringPropertyReplacer.

what's the easiest way to get the property replacement to happen in this
context? I don't really want to write a PropertyEditor for longs.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048497#4048497

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048497



More information about the jboss-user mailing list