Created
July 30, 2011 12:14
-
-
Save nschlimm/1115465 to your computer and use it in GitHub Desktop.
Spring-CDI decorator application context
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc" | |
xmlns:context="http://www.springframework.org/schema/context" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd | |
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd | |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd" | |
default-autowire="byName"> | |
<context:component-scan base-package="com.mycompany.springapp.springcdi" scoped-proxy="targetClass"> | |
<context:include-filter type="annotation" expression="javax.decorator.Decorator" /> | |
</context:component-scan> | |
<bean class="com.schlimm.springcdi.decorator.DecoratorAwareBeanFactoryPostProcessor" /> | |
</beans> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment