On Mon, Jun 22, 2009 at 11:11 AM, Daniel Dominik Holúbek<[email protected]> wrote: > I don't know :)I can create a Spring bean from Application object, but I > don't know what does it mean - make it context "aware". > That's why I am asking whether somebody has already tried this...
Have your application class implement the ApplicationContextAware interface: http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/context/ApplicationContextAware.html --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
