[jboss-user] [Management, JMX/JBoss] - Re: auto redeploy dynamic mbean on JBoss restart
cnsxxx09
do-not-reply at jboss.com
Tue Nov 7 13:00:15 EST 2006
Hi,
I've tried this, and I must have got something wrong ... I have tried 2 ways (below) .... and either way my values are ignored.
Option 1.
[xmbean]
....
[attribute access='read-write' getMethod='getId' setMethod='setId']
[description]MBean Attribute.[/description]
[name]Id[/name]
[type]java.lang.String[/type]
myValueGoesHere
[/attribute]
...
[/xmbean]
and ... Option 2.
[xmbean]
....
[attribute access='read-write' getMethod='getId' setMethod='setId']
[description]MBean Attribute.[/description]
[name]Id[/name]
[type]java.lang.String[/type]
[descriptors]
[default value="myValueGoesHere"/]
[/descriptors]
[/attribute]
...
[/xmbean]
(of course, using correct XML tags).
Any idea what I got wrong?
As I said, setting it outside the xmbean tag worked but then screws up the persistence.
Thanks
Chris
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983868#3983868
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983868
More information about the jboss-user
mailing list