[jboss-jira] [JBoss JIRA] (WFLY-720) Web service methods cannot be static & final - implement deployment check for that

Guillaume Grossetie (JIRA) jira-events at lists.jboss.org
Sat Aug 3 05:29:26 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794930#comment-12794930 ] 

Guillaume Grossetie commented on WFLY-720:
------------------------------------------

I agree with Stephen, I much prefer an exception than a log.

I start looking at this issue but I'm not sure how to retrieve all webservice methods. The ClassInfo argument gives us the name of the class but with the modular classloader I don't think this is gonna works ?

final Method[] methods = Class.forName(clazz.name().toString()).getMethods();

Cheers.

                
> Web service methods cannot be static & final - implement deployment check for that
> ----------------------------------------------------------------------------------
>
>                 Key: WFLY-720
>                 URL: https://issues.jboss.org/browse/WFLY-720
>             Project: WildFly
>          Issue Type: Feature Request
>          Components: Web Services
>            Reporter: Richard Opalka
>            Priority: Minor
>             Fix For: Awaiting Volunteers
>
>
> We already check that JAXWS webservice endpoint class cannot be final.
> We also need to implement (reflection based) check that all webservice
> methods are not final and static. The deployment should fail if such
> method is detected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list