Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
JBoss ESB Action 是否像 Servlet 一样具有生命周期(初始化、服务、销毁)?
我正在编写数十个需要相同初始化并破坏业务逻辑的 ESB 操作。所以我想把这个通用的初始化和销毁代码放在一个父类中。
为了回答我自己的问题,JBoss ESB Action 确实有生命周期,但该周期在初始化期间只执行一次,而不是像我预期的那样每个请求执行一次。