FooConfig, Foo, Bar, and BarFactory are now public static classes in order to avoid a bug with JDT/Spring IDE where the classes cannot be found in the XML application context.
parent
2ff2f0205d
commit
0543036ec9
2 changed files with 42 additions and 34 deletions
@ -1,12 +1,11 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<beans xmlns="http://www.springframework.org/schema/beans" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> |
||||
|
||||
<bean id="foo" class="org.springframework.context.annotation.Foo"> |
||||
<constructor-arg ref="barFactory"/> |
||||
<bean id="foo" class="org.springframework.context.annotation.Spr6602Tests$Foo"> |
||||
<constructor-arg ref="barFactory" /> |
||||
</bean> |
||||
|
||||
<bean id="barFactory" class="org.springframework.context.annotation.BarFactory"/> |
||||
|
||||
<bean id="barFactory" class="org.springframework.context.annotation.Spr6602Tests$BarFactory" /> |
||||
|
||||
</beans> |
||||
|
Loading…
Reference in new issue