[ http://issues.apache.org/jira/browse/CXF-145?page=all ]

Dan Diephouse updated CXF-145:
------------------------------

          Summary: Dynamic discovery of binding creators  (was: Remove 
dependency of Soap Binding from the ReflectionServiceFactory creation)
    Fix Version/s: 2.0-M2
                       (was: 2.0-M1)
      Description: 
It would be nice if in ServerFactoryBean, ServiceImpl, etc, we could 
dynamically discover which BindingInfoFactoryBean we want to use. 

I am reluctant to have a BindingInfoFactoryBeanFactory as this seems a bit odd. 
It is nice to be able to just create your own factory bean:
factory = new SoapBindingInfoFactoryBean()
factory.setStyle("document");
...etc.

I am not sure what the potential resolution might be. Feel free to add some 
ideas in the comments.

  was:
The ReflectionServiceFactoryBean class tries to load all the Soap Binding 
specific classes thereby creating a dependency of loading the soap binding jar 
when not needed...

We should remove it from that class & let the soap binding load it up... If i 
just want to use xml binding, why should i load up the soap binding jar?



I've updated the issue to more accurately describe the issue at hand and 
schedule for M2.

> Dynamic discovery of binding creators
> -------------------------------------
>
>                 Key: CXF-145
>                 URL: http://issues.apache.org/jira/browse/CXF-145
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0-M1
>            Reporter: Balaji Ravi
>             Fix For: 2.0-M2
>
>
> It would be nice if in ServerFactoryBean, ServiceImpl, etc, we could 
> dynamically discover which BindingInfoFactoryBean we want to use. 
> I am reluctant to have a BindingInfoFactoryBeanFactory as this seems a bit 
> odd. It is nice to be able to just create your own factory bean:
> factory = new SoapBindingInfoFactoryBean()
> factory.setStyle("document");
> ...etc.
> I am not sure what the potential resolution might be. Feel free to add some 
> ideas in the comments.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to