[jira] Created: (HIVEMIND-134) BeanFactory should support beans with no-args constructor

View: New views
3 Messages — Rating Filter:   Alert me  

[jira] Created: (HIVEMIND-134) BeanFactory should support beans with no-args constructor

by JIRA hivemind-dev@jakarta.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

BeanFactory should support beans with no-args constructor
---------------------------------------------------------

         Key: HIVEMIND-134
         URL: http://issues.apache.org/jira/browse/HIVEMIND-134
     Project: HiveMind
        Type: Bug
  Components: library  
    Versions: 1.1    
    Reporter: Howard M. Lewis Ship
    Priority: Minor


If a bean is retrived with an initializer string (i.e., "string,minLength=2") and the bean class does not have a constructor that takes a single string, but does have a no-args contructor, THEN, the no-args constructor should be used, and then the properties of the bean initialized from the initializer string.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@...
For additional commands, e-mail: hivemind-dev-help@...


[jira] Updated: (HIVEMIND-134) BeanFactory should support beans with no-args constructor

by JIRA hivemind-dev@jakarta.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

     [ http://issues.apache.org/jira/browse/HIVEMIND-134?page=all ]

Howard M. Lewis Ship updated HIVEMIND-134:
------------------------------------------

    type: Improvement  (was: Bug)

> BeanFactory should support beans with no-args constructor
> ---------------------------------------------------------
>
>          Key: HIVEMIND-134
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-134
>      Project: HiveMind
>         Type: Improvement
>   Components: library
>     Versions: 1.1
>     Reporter: Howard M. Lewis Ship
>     Priority: Minor

>
> If a bean is retrived with an initializer string (i.e., "string,minLength=2") and the bean class does not have a constructor that takes a single string, but does have a no-args contructor, THEN, the no-args constructor should be used, and then the properties of the bean initialized from the initializer string.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@...
For additional commands, e-mail: hivemind-dev-help@...


[jira] Updated: (HIVEMIND-134) BeanFactory should support beans with no-args constructor

by JIRA hivemind-dev@jakarta.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/HIVEMIND-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johan Lindquist updated HIVEMIND-134:
-------------------------------------

    Attachment: hivemind-134.patch

Attached patch suggest solution for dealing with initializers as properties

> BeanFactory should support beans with no-args constructor
> ---------------------------------------------------------
>
>                 Key: HIVEMIND-134
>                 URL: https://issues.apache.org/jira/browse/HIVEMIND-134
>             Project: HiveMind
>          Issue Type: Improvement
>          Components: library
>    Affects Versions: 1.1
>            Reporter: Howard M. Lewis Ship
>            Priority: Minor
>         Attachments: hivemind-134.patch
>
>
> If a bean is retrived with an initializer string (i.e., "string,minLength=2") and the bean class does not have a constructor that takes a single string, but does have a no-args contructor, THEN, the no-args constructor should be used, and then the properties of the bean initialized from the initializer string.

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