@Bean with destroy and init methods