0 Replies Latest reply on Nov 6, 2008 5:15 PM by sfisque

    MBean exposing a HashMap

    sfisque

      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