Thank you very much Pawel
Paweł Lipka escribió:
Alternatively, not to tie yourself to JSR-250, you could put your code
into a plain 'void initialize() throws Exception' method and use
Spring's bean element init-method attribute to specify which method is
to be invoked after ur component is
Thanks Edwin, Thanks Daniel!!
Edwin Quita escribió:
you could also configure this declaratively in your service's impl
bean declaration:
and inside your impl class implement the methods:
public void start() {
//init code here..
}
public void stop() {
//shutdown code here...
you could also configure this declaratively in your service's impl
bean declaration:
and inside your impl class implement the methods:
public void start() {
//init code here..
}
public void stop() {
//shutdown code here...
}
On Fri, Dec 4, 2009 at 11:05 PM, Paweł Lipka
Alternatively, not to tie yourself to JSR-250, you could put your code
into a plain 'void initialize() throws Exception' method and use
Spring's bean element init-method attribute to specify which method is
to be invoked after ur component is instantiated and wired to its
dependencies.
Danie
In a method annotated with @PostConstruct?
Dan
On Fri December 4 2009 9:45:05 am Wadi Jalil Maluf wrote:
> Hi all,
>I'm building a web application with spring and apache cxf. I
> would like to know where te best place to put initialization code is.
> Thanks in advance,
> Regards,
> Wa
Hi all,
I'm building a web application with spring and apache cxf. I
would like to know where te best place to put initialization code is.
Thanks in advance,
Regards,
Wadi
__ Información de ESET NOD32 Antivirus, versión de la base de firmas de
virus 4660 (20091204) __
E