[ http://jira.andromda.org/browse/SPRING-63?page=history ] Work on SPRING-63 stopped by Chad Brandon
> Create 2 tagged values for Spring bean init and destroy methods > --------------------------------------------------------------- > > Key: SPRING-63 > URL: http://jira.andromda.org/browse/SPRING-63 > Project: Spring Cartridge > Type: New Feature > Reporter: Sebastien Arbogast > Assignee: Chad Brandon > > For the moment there is no way to specify init and/or destroy methods for > Spring service beans, which could be very interesting to initialize data on > application start up for example. > The solution would be to add 2 tagged values, @andromda.spring.init-method > and @andromda.spring.destroy-method, applicable on service-stereotyped > methods, with a boolean value (default false). > This way for example I could have a "<<Service>>Shop" service, with a > "+open():[EMAIL PROTECTED]" method, which would be translated into a > declaration like this in applicationContext.xml : > <bean id="shop" class="..." init-method="open">...</bean> > And of course when the corresponding tagged value is false, no parameter > would be added to the bean declaration. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click