Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3397

Remove final keywords from AbstractInvocationHandlerJSE (plus InvocationHandlerJAXRPC/WS) to let users extend functionality

    XMLWordPrintable

Details

    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.

      Attachments

        Activity

          People

            rhn-support-asoldano Alessio Soldano
            snazy0 Robert Stupp (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: