I'm trying to create a class that looks like this

Class MyClass
{
String pageName;
Map pageMap

}

The pageMap Map is a <String,List> where the list is just a list of Strings. Basically, I want to provide a string and get a list of strings from the map.

My bean is defined below...

<bean id="beanName" class="com.MyClass">
<property name="pageName">
<value>pageName</value></property>
<property name="pageMap">
<map>
<entry key="fiscalYear">
<ref bean="groupList" /> <-- I want a list here or a bean that points to a list, ideally
</entry>
</map>
</property>
</bean>

<bean id="groupList" class="????">
<property name="name">
<list>
<value>Group1</value>
<value>Group2</value>
<value>Group3</value>
</list>
</property>
</bean>

But, it doesn't work.

Is there anyway I can put a list directly into the value of the map, without creating a new class that just holds a list of Strings?