开发者

Does JBoss ESB Action has life cycle?

开发者 https://www.devze.com 2023-01-21 15:52 出处:网络
Does JBoss ESB Action has life cycle like Servlet does (init, service, destroy)? I am writing dozens of ESB actions that requires the same initialization and destroy business logic. So I a开发者_如何

Does JBoss ESB Action has life cycle like Servlet does (init, service, destroy)?

I am writing dozens of ESB actions that requires the same initialization and destroy business logic. So I a开发者_如何学编程m thinking of putting this common init and destroy code in one parent class.


To answer my own question, the JBoss ESB Action does have life cycle but the cycle is executed only once during initialization and not per request as I would have expected it to be.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号