Details
-
Feature Request
-
Resolution: Won't Do
-
Major
-
None
-
None
-
None
Description
It would be nice to remove the final keyword from the method
org.jboss.ws.common.invocation.AbstractInvocationHandlerJSE#invoke
and from the classes
org.jboss.ws.common.invocation.InvocationHandlerJAXRPC
org.jboss.ws.common.invocation.InvocationHandlerJAXWS
to allow users to extend functionality.
We need to intercept the final Java method call (in org.jboss.ws.common.invocation.AbstractInvocationHandlerJSE#invoke)
final Object retObj = implMethod.invoke(targetBean, args);
and replace it with a call to some other code. I had to copy AbstractInvocationHandlerJSE, InvocationHandlerJAXWS and InvocationHandlerJAXRPC just to override the function invoke.