[
https://issues.jboss.org/browse/JBWS-3397?page=com.atlassian.jira.plugin....
]
Robert Stupp commented on JBWS-3397:
------------------------------------
Our usecase is to intercept the method call, add transactions to the call, perform
throttling, tracing - everything configurable for each endpoint/operation.
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)
Components: jbossws-cxf, jbossws-integration, jbossws-native
Environment: AS7.1 (jbossws-common-2.0.0.CR1)
Reporter: Robert Stupp
Assignee: Alessio Soldano
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