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

Guillaume Nodet updated ARIES-1559:
-----------------------------------
    Fix Version/s:     (was: blueprint-core-1.7.0)

> Support injection of static values to bean properties or constructor's args
> ---------------------------------------------------------------------------
>
>                 Key: ARIES-1559
>                 URL: https://issues.apache.org/jira/browse/ARIES-1559
>             Project: Aries
>          Issue Type: Improvement
>          Components: Blueprint
>            Reporter: Viktor Kozlov
>
> Quite often there is a need to initialize my functional classes constants 
> values. The Spring framework can be used for this expression language. It 
> would be nice to have similar functionality in Blueprint.
> For example I want to use this expression:
> <bean id="credentialsMatcher" 
> class="org.apache.shiro.authc.credential.HashedCredentialsMatcher">
> <property name="hashAlgorithmName" 
> value="#{T(org.apache.shiro.crypto.hash.Md5Hash).ALGORITHM_NAME}" />
> </bean>
> instead of this one:
> <bean id="credentialsMatcher" 
> class="org.apache.shiro.authc.credential.HashedCredentialsMatcher">
> <property name="hashAlgorithmName" value="MD5" />
> </bean>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to