This doesn't seem to be working properly for me. I'm using 3.0.
Code:
<bean id="jaxb2MarshallerContextPaths" class="org.springframework.beans.factory.config.ListFactoryBean">
<property name="sourceList">
<list value-type="java.lang.String">
<value>com.foo.manager.schema</value>
<value>com.foo.jaxb.filtertemplate</value>
</list>
</property>
</bean>
Code:
@Component("jaxb2Marshaller")
public class FMJaxb2Marshaller extends Jaxb2Marshaller {
@Override
@Resource(name="jaxb2MarshallerContextPaths")
public void setContextPaths(String... contextPaths) {
super.setContextPaths(contextPaths);
}
}
But IntelliJ tells me that this is invalid because the argument type is String. Have I done something wrong? Or is IntelliJ wrong?