axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konrad Garus (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-3258) Extend Spring support to accept proxies
Date Fri, 29 Jun 2012 19:18:44 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404140#comment-13404140
] 

Konrad Garus commented on AXIS2-3258:
-------------------------------------

I understand that. I don't mix them up - I'm saying I get a nasty NPE when I use it with servlet
context, so I decided to go for the option with ApplicationContextHolder.

This works, as long as my beans are not proxies.

Separate concern, whenever I try to use either ServiceObjectSupplier with ServiceClass, it
attempts to instantiate the ServiceClass. This results in an obvious exception if it's an
interface, and when it's not an interface it creates a separate instance of the class which
is then used instead of Spring bean.
                
> Extend Spring support to accept proxies
> ---------------------------------------
>
>                 Key: AXIS2-3258
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3258
>             Project: Axis2
>          Issue Type: New Feature
>          Components: deployment, wsdl
>    Affects Versions: 1.3
>            Reporter: Oleg Efimov
>            Priority: Trivial
>             Fix For: 1.3
>
>
> ServiceBuilder presently requires service class's byte code to obtain method parameter
names. This won't work with proxies, thus making Spring support really feeble.
> I propose introducing additional service.xml parameter, namely ServiceInterface, to enumerate
service methods and parameter names.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message