cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-1782) ServletController.generateServiceList is private - cannot extend/change the way a service list is built
Date Thu, 11 Sep 2008 21:17:44 GMT

    [ https://issues.apache.org/jira/browse/CXF-1782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630381#action_12630381
] 

Daniel Kulp commented on CXF-1782:
----------------------------------


Umm...  the service list is NOT something defined by the JAX-WS spec.   That IS something
specific to CXF.   

It really should be customizable to meet the needs of various companies and such.   One thing
that comes to mind is filtering out stuff based on authentication credentials.




> ServletController.generateServiceList is private - cannot extend/change the way a service
list is built
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1782
>                 URL: https://issues.apache.org/jira/browse/CXF-1782
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.1.2
>         Environment: All
>            Reporter: Peter Liljenberg
>         Attachments: patch.txt
>
>   Original Estimate: 0.02h
>  Remaining Estimate: 0.02h
>
> The ServletController.generateService method is private instead of protected. This means
that in order to change the way/layout of the service list I have to override the invoke method
instead, which is not recommended since it contains some logic that might be updated in a
later version.
> Proposed solution:
> Change: private void generateServiceList(HttpServletRequest request, HttpServletResponse
response)  throws IOException
> To: protected void generateServiceList(HttpServletRequest request, HttpServletResponse
response)  throws IOException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message