Robert Stupp wrote:
BTW: It would be nice to remove the "final" keywork from the org.jboss.ws.common.invocation.InvocationHandlerJAXWS and similiar classes - and from the org.jboss.ws.common.invocation.AbstractInvocationHandlerJSE.invoke() method - to allow users to override this functionality. I had to copy the code to my own implementations and could not reuse existing classes. Is it ok to open a new issue (RFE) in Jira?
We're not going to remove "final" keywords but I have a workaround description for you instead :)
I see U're dealing with JBossWS internals so the following workaround might be acceptable for you:
* implement your own version of org.jboss.wsf.spi.invocation.InvocationHandlerFactory (for inspiration see org.jboss.as.webservices.invocation.InvocationHandlerFactoryImpl)
* your implementation will register your own delegating invocation handlers
* your every invocation handler will contain JBossWS specific handler as delegate and it will delegate all calls to it (http://en.wikipedia.org/wiki/Adapter_pattern)
* around these delegating calls you can implement your own monitoring/logging code
Feel free to ask further questions if something is not clear.