[jboss-jira] [JBoss JIRA] Closed: (JBMICROCONT-197) Add ValueFactory as injection value

Ales Justin (JIRA) jira-events at lists.jboss.org
Sun Jul 22 07:02:47 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBMICROCONT-197?page=all ]

Ales Justin closed JBMICROCONT-197.
-----------------------------------

    Resolution: Done

Done.
Includes XML and Config tests.

> Add ValueFactory as injection value
> -----------------------------------
>
>                 Key: JBMICROCONT-197
>                 URL: http://jira.jboss.com/jira/browse/JBMICROCONT-197
>             Project: JBoss MicroContainer
>          Issue Type: Feature Request
>          Components: Dependency
>    Affects Versions: JBossMC-2.0.0.Beta4
>            Reporter: Ales Justin
>         Assigned To: Ales Justin
>            Priority: Minor
>             Fix For: JBossMC-2.0.0.Beta4
>
>
> Add a way to inject a value from other bean's method with parameters.
> e.g.
> <property name="x">
>    <value-factory bean="LDAPLookup" method="getValue" />
>       <parameter>foo.bar.prop</parameter>
>       <parameter>mydefault</parameter>
>    </value-factory>
> </property>
> or as a shorthand mechanism for simple one parameter methods
> <property name="x">
>    <value-factory bean="LDAPLookup" method="getValue" parameter="foo.bar.prop" default="mydefault"/>
> </property>

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

        



More information about the jboss-jira mailing list