[jboss-user] [JBossWS] - Re: Using Threads inside Web Services

ljb26 do-not-reply at jboss.com
Tue Mar 24 09:01:12 EDT 2009


I can't seem to find an answer to the above question in the JBossWS documentation. Without the Servlet interface's init and destroy methods how would we clean up threads on undeployment? I have seen references to @PostConstruct and @PreDestroy however these seem to be called upon every construction of the endpoint interface's implementation. This seems to be constructed whenever a SOAP request is received, and does not seem to be linked to the lifecycle of the underlying servlet.

Any help would be appreciated, thankyou.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220570#4220570

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220570



More information about the jboss-user mailing list