1 Reply Latest reply on Oct 4, 2007 1:34 PM by Scott Stark

    ManagedProperty value type

    Ales Justin Master

      What's the idea behind value's type in ManagedProperty?
      Since I see we are mixing the usage.

      For getValue we are expecting SimpleValue

       assertEquals("jndi-name", SimpleValueSupport.wrap("DefaultDS"), p.getValue());
      

      but for setValue we push plain value
       ManagedProperty minSize = props.get("min-pool-size");
       minSize.setValue(new Integer(13));
      


      How do you then know what is value's type?
      Or is the code that should change server side value to SimpleValue still missing?