HiveMind can't inject a numeric value in an Integer property of a bean.
-----------------------------------------------------------------------

                 Key: HIVEMIND-209
                 URL: https://issues.apache.org/jira/browse/HIVEMIND-209
             Project: HiveMind
          Issue Type: Bug
          Components: framework
    Affects Versions: 1.1.1
            Reporter: Stéphane Decleire
            Priority: Minor


The declaration bellow throw the exception "No property editor for 
java.lang.Integer"

<service-point id="Alert" interface="IAlert">
    <invoke-factory>
        <construct class="impl.Alert">
              <set property="radius" value="10"/>
        </construct>
    </invoke-factory>
</service-point>

James had a look at this and told me it happens "because it uses the 
java.beans.PropertyEditorManager
class to find an editor for that type (and it's not registered by default)".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to