<component-scan> 无法在jboss5.1as下使用
需要另外扩展applcationcontext.
https://anonsvn.jboss.org/repos/jbossas/projects/spring-int/trunk/
http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213444
https://jira.jboss.org/jira/browse/SNOWDROP-4
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214297#4214297
在web.xml中可以指定applicationcontext的class
需要另外扩展applcationcontext.
https://anonsvn.jboss.org/repos/jbossas/projects/spring-int/trunk/
http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213444
https://jira.jboss.org/jira/browse/SNOWDROP-4
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214297#4214297
在web.xml中可以指定applicationcontext的class
<context-param>
<param-name>contextClass</param-name>
<param-value>org.jboss.spring.vfs.context.VFSXmlWebApplicationContext</param-value>
</context-param>