I have a bean that has a property -- call it fooList -- that is of type List<Foo> . I have another class that has a static member MyOtherClass.FOO_LIST that is of type List<Foo> . How do I inject that static member as the value of the fooList property? In other words ...
<bean id="abc" class="myBean">
<property name="fooList">
// what goes here if I want to set fooList to the static MyOtherClass.FOO_LIST member?
</property>
</bean>
Can this be done? If so, how?
Thanks in advance.
--Jim


Reply With Quote