How to override annotation @SpringBean

2012-04-29 Thread myrz
f if it's a good practice create the service in the constructor. And I think it's would be more elegant to write something like that: @CustomSpringBean private HelloService service; If someone have an idea he would be awesome to share it. -- View this message in context: http://apache-wick

Re: How to override annotation @SpringBean

2012-04-29 Thread Jürgen Lind
e some NullpointerException then I'm asking myself if it's a good practice create the service in the constructor. And I think it's would be more elegant to write something like that: @CustomSpringBean private HelloService service; If someone have an idea he would be awesome to s