I guess you need to expose this as read-only on the MBean and alter the value 
of this inside your MBean code.

I don't understand the exception you get. Isn't the MBean itself holding the 
value of this variable? Show the MBean code.

The thing is, as soon as you declare something read-write it should be possible 
to write it. If you aim is to allow overriding through the -service.xml 
descriptor but dissallow editing through the console, this will not work, 
because both use the same way to access the variable.



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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to