In a Spring 4 application, we are extending PropertySourcesPlaceholderConfigurer
to do some custom task during resolving properties.
To reg
You can very well use a combination of both Spring based xml and java based config in your spring application.
You have to use
@ImportResource({"classpath:sampleapp.xml"})
along with
@Configuration
Look at the sample post below which explains it:
Mixing xml and java config with spring
I had the same problem, my problem was fixed simply with placing the bean of my class in my Springbeans.xml
file like below:
<beans:bean class="MyPropertyConfigurer"/>