Announcement Announcement Module
No announcement yet.
problem setting java.util.Map type as @ManageAttribute Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • problem setting java.util.Map type as @ManageAttribute

    Hello All,

    I have a attribute defined in my managed bean as
    @ManagedAttribute(description = "Set the mapping", currencyTimeLimit = 20,
    defaultValue = "", persistPolicy = "OnUpdate")
    public void setClassMap(Map<String, String> classMap) {
    this.classMap = classMap;
    which has a type, java.util.Map. and in my spring config files i have

    <entry key="bean:name=marshallerMapper">
    <ref local="marshallerMapper" />

    <bean id="marshallerMapper"
    <property name="classMap">
    <!-- organization -->
    <entry key="ITEMRCRE" value="" />

    so the problem is i don't see the value of classMap attribute from MX4J/Http Adaptor management console, it says unknown type and i don't see a way to add mapping at runtime as i can do for simple type like String, is there a way so that i can add more mapping at runtime through htttp Adapter management console.

    Last edited by puran; Jan 28th, 2008, 05:42 PM.