Menu

#5 FileCreater to return the bean object

open
nobody
5
2010-11-16
2010-11-16
Asif Nadeem
No

Please add a getBean() method to the FileCreator which returns the bean in order to avoid declaring yet another variable to hold the bean. For example

fileCreator.setBean("batch", new BatchHeader());

((BatchHeader) fileCreator.getBean("batch")).startNewBatch();

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.