I have the following bean xml from spring framework. Now we are moving to spring boot with all annotations. How do I convert the following bean to annotations ?
<bean id="testPool" class="com.v1.testPoolImpl" init-method="init" destroy-method="shutdown"> <property name="configurations"> <bean class="org.springframework.beans.factory.config.PropertiesFactoryBean"> <property name="location" value="classpath:database.properties"/> </bean> </property> </bean> com.v1.testPoolImpl (is some other library)