How does init() get called on a Handler in a WebApp

Posted by stevebot on Stack Overflow See other posts from Stack Overflow or by stevebot
Published on 2010-05-18T18:51:27Z Indexed on 2010/05/18 19:30 UTC
Read the original article Hit count: 209

Filed under:
|
|
|
|

Hey,

I have a Handler object that functions kind of like a service. It has a public init method defined in the Implementation but not the Interface. This Handler is also being autowired via Spring. How does the init method get invoked? Is it via Spring or does Tomcat call this?

© Stack Overflow or respective owner

Related posts about java

Related posts about spring