iipolovinkin / JupiterBank

Test Spring Web Application
1 stars 0 forks source link

JB-35 Create Initializer for injecting test data into database #57

Closed iipolovinkin closed 9 years ago

iipolovinkin commented 9 years ago

I could use InitializingBean with method afterPropertiesSet(); Javadoc: Invoked by a BeanFactory after it has set all bean properties supplied (and satisfied BeanFactoryAware and ApplicationContextAware). This method allows the bean instance to perform initialization only possible when all bean properties have been set and to throw an exception in the event of misconfiguration.

javadoc InitializingBean