[jbossws-issues] [JBoss JIRA] (JBWS-3397) Remove final keywords from AbstractInvocationHandlerJSE (plus InvocationHandlerJAXRPC/WS) to let users extend functionality

Alessio Soldano (Updated) (JIRA) jira-events at lists.jboss.org
Wed Dec 14 05:47:09 EST 2011


     [ https://issues.jboss.org/browse/JBWS-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessio Soldano updated JBWS-3397:
----------------------------------

        Component/s: jbossws-cxf
                     jbossws-integration
                     jbossws-native
    Forum Reference: http://community.jboss.org/message/641483  (was: http://community.jboss.org/message/641483)

    
> 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

        


More information about the jbossws-issues mailing list