Just tried, for plain spring managed object which is neither servlet,
nor filter nor listener, @PostConstruct method gets called only once
on Tomcat 7.
Regards,
Stevo.
On Sun, Feb 27, 2011 at 9:41 PM, Stevo Slavić ssla...@gmail.com wrote:
If I understood spec (servlet-3_0-final-spec.pdf) well,
If I understood spec (servlet-3_0-final-spec.pdf) well, this service
is required only for servlets, filters, and listeners (Table 15-1
Components and Interfaces supporting Annotations and Dependency
Injection, chapter 15, page 179 of specification, page 201 of pdf).
Yevgen, on which beans did you
Hi.
I have a problem deploying Spring based application to Tomcat 6.0.26 /
7.0.0.
Some of my beans have @PostConstruct annotated methods.
Like:
@PostConstruct
public void init() { ... }
The problem is that these methods called twice - first time by Tomcat
annotation processor,
second time - by
On 25/02/2011 21:03, Yevgen Krapiva wrote:
Hi.
I have a problem deploying Spring based application to Tomcat 6.0.26 /
7.0.0.
Some of my beans have @PostConstruct annotated methods.
Like:
@PostConstruct
public void init() { ... }
The problem is that these methods called twice - first