Spring 在春季,如何自动关联bean的属性?

Spring 在春季,如何自动关联bean的属性?,spring,properties,autowired,Spring,Properties,Autowired,我使用的是Spring3.2.11.RELEASE。我有下面的豆子 <beans:bean id=“customAuthenticationFilter" class="org.mainco.subco.core.security.CustomAuthenticationFilter"> <beans:property name="filterProcessesUrl" value="/j_custom_value" /> … 但是我想看看我是否

我使用的是Spring3.2.11.RELEASE。我有下面的豆子

<beans:bean id=“customAuthenticationFilter"
    class="org.mainco.subco.core.security.CustomAuthenticationFilter">
    <beans:property name="filterProcessesUrl" value="/j_custom_value" />
    …

但是我想看看我是否能够以某种方式将“FilterProcessUrl”值扩展到一个成员字段中(基本上是将上述两行代码合并成一行)。我该怎么做呢?

检查。希望这有帮助。是的,这正好解决了问题。谢谢
@Autowired
private CustomAuthenticationFilter myFilter

…
String value = myFilter.getFilterPRocessesUrl();