[jboss-user] [Management, JMX/JBoss] - MBean exposing a HashMap

sfisque do-not-reply at jboss.com
Thu Nov 6 17:15:54 EST 2008


i want to have a HashMap store some runtime settings for several session beans, and it seems the best way to expose this is via an MBean.  my question, is how would i configure the hashmap in the deployment descriptor (-service.xml) so that key/value pairs are placed into the hashmap.  the reason for this is that the keys are used to bind to particular instances of classes (via reflection), so i cannot hard code the mutator/accessor methods.  is there a way to expose the "put" method of HashMap in the descriptor and pass in the key and the value?

TIA

== stanton


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

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



More information about the jboss-user mailing list