You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Will Gomes (JIRA)" <ji...@apache.org> on 2008/09/12 15:30:45 UTC

[jira] Created: (CXF-1796) ServletController - change constructor arguments to set ServletContext & Bus

ServletController - change constructor arguments to set ServletContext & Bus
----------------------------------------------------------------------------

                 Key: CXF-1796
                 URL: https://issues.apache.org/jira/browse/CXF-1796
             Project: CXF
          Issue Type: Improvement
          Components: Transports
    Affects Versions: 2.2
            Reporter: Will Gomes


> I want to replace the use of CXFServlet with a spring mvc controller. My
> plan is to make use of or extend the ServletController. The problem I'm
> having is that the ServletController requires a handle to the CXFServlet.
> Any suggestions on how to get around this?

The only things the ServletController need from the CXFServlet are the Bus and
the ServletContext.   I would definitely accept a patch that would change the
constructor from passing the CXFServlet to passing the Bus and ServletContext
explicitly if that would help.  

-- 
Daniel Kulp 

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


[jira] Updated: (CXF-1796) ServletController - change constructor arguments to set ServletContext & Bus

Posted by "Will Gomes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Will Gomes updated CXF-1796:
----------------------------

    Attachment: patch.txt

Attaching patch.

> ServletController - change constructor arguments to set ServletContext & Bus
> ----------------------------------------------------------------------------
>
>                 Key: CXF-1796
>                 URL: https://issues.apache.org/jira/browse/CXF-1796
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.2
>            Reporter: Will Gomes
>         Attachments: patch.txt
>
>
> > I want to replace the use of CXFServlet with a spring mvc controller. My
> > plan is to make use of or extend the ServletController. The problem I'm
> > having is that the ServletController requires a handle to the CXFServlet.
> > Any suggestions on how to get around this?
> The only things the ServletController need from the CXFServlet are the Bus and
> the ServletContext.   I would definitely accept a patch that would change the
> constructor from passing the CXFServlet to passing the Bus and ServletContext
> explicitly if that would help.  
> -- 
> Daniel Kulp 

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


[jira] Resolved: (CXF-1796) ServletController - change constructor arguments to set ServletContext & Bus

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-1796.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.3
                   2.0.9
         Assignee: Daniel Kulp

> ServletController - change constructor arguments to set ServletContext & Bus
> ----------------------------------------------------------------------------
>
>                 Key: CXF-1796
>                 URL: https://issues.apache.org/jira/browse/CXF-1796
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.2
>            Reporter: Will Gomes
>            Assignee: Daniel Kulp
>             Fix For: 2.0.9, 2.1.3
>
>         Attachments: patch.txt
>
>
> > I want to replace the use of CXFServlet with a spring mvc controller. My
> > plan is to make use of or extend the ServletController. The problem I'm
> > having is that the ServletController requires a handle to the CXFServlet.
> > Any suggestions on how to get around this?
> The only things the ServletController need from the CXFServlet are the Bus and
> the ServletContext.   I would definitely accept a patch that would change the
> constructor from passing the CXFServlet to passing the Bus and ServletContext
> explicitly if that would help.  
> -- 
> Daniel Kulp 

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