Hi Marius:
Thank you, very nice.
I'm test with the next configuration:
beanRefContext.xml File:
<bean id="context"
class="org.jboss.spring.vfs.context.VFSClassPathXmlApplicationContext">
<constructor-arg index="1">
<list value-type="java.lang.String" >
<value>applicationContext-log4j.xml</value>
<value>applicationContext-service.xml</value>
<value>sessionFactory-sc-context.xml</value>
<value>dataSource-sc-context.xml</value>
</list>
</constructor-arg>
<constructor-arg index="2" type="boolean">
<value>false</value>
</constructor-arg>
</bean>
I have the next error:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'context' defined in URL [vfs:/D:/Java/AppsServers/Jboss/jboss-6.0.0.20100429-M3/server/default/deploy/armonica-ear-1.0-SNAPSHOT.ear/APP-INF/lib/armonica-negocio-1.0-SNAPSHOT.jar/beanRefContext.xml]: 2 constructor arguments specified but no matching constructor found in bean 'context' (hint: specify index and/or type arguments for simple parameters to avoid type ambiguities)
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:181)
I will test with Jboss 5, but tomorrow.
Muchas gracias mi hermano.