I am using Spring in Java based config. I want to initialize a bean using a factory method. In XML, it is done as such:
<bean id="repositoryService" factory-bean="processEngine" factory-method="getRepositoryService" />
How do I do the same thing in Java?
Aucun commentaire:
Enregistrer un commentaire