Remove final keywords from AbstractInvocationHandlerJSE (plus InvocationHandlerJAXRPC/WS)
to let users extend functionality
---------------------------------------------------------------------------------------------------------------------------
Key: JBWS-3397
URL:
https://issues.jboss.org/browse/JBWS-3397
Project: JBoss Web Services
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Environment: AS7.1 (jbossws-common-2.0.0.CR1)
Reporter: Robert Stupp
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}}.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira