You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andrea Smyth (JIRA)" <ji...@apache.org> on 2006/09/20 19:36:25 UTC

[jira] Commented: (CXF-25) Replace dependencies on old configuration APIs

    [ http://issues.apache.org/jira/browse/CXF-25?page=comments#action_12436287 ] 
            
Andrea Smyth commented on CXF-25:
---------------------------------

Done for http and jms transport. In case of the http transport still need to add the additional provider. For the jms transport this is done - however the provider is added to as an overrwrite provider - i.e. if a non-null value is found in the service model, the default in the bean class is not used. This is necessary as the default in the base bean is NEVER null - but probably should be as it does not make sense to instantiate an default  JMSAddressPolicyType object without also setting its mandatory fields jndiConnectionFactoryName etc. 

Currently two other components make use of the old Configuration apis. - these will be dealt with in a next step.

After that, the oldcfg package in common as well as the bean generators can be removed.

> Replace dependencies on old configuration APIs
> ----------------------------------------------
>
>                 Key: CXF-25
>                 URL: http://issues.apache.org/jira/browse/CXF-25
>             Project: CeltiXfire
>          Issue Type: Sub-task
>          Components: Configuration
>            Reporter: Andrea Smyth
>         Assigned To: Andrea Smyth
>             Fix For: 2.0-M1
>
>
> 1. Change configurable components to inherit from generated base beans.
> 2. Remove Configuration type data members from configurable objects and remove calls to ConfigurationBuilder.getConfiguration(CompoundName id, String cfgNamespace).
> 3. Replace calls to configuration.get(String name, Class<?> type) by getters in base class.

-- 
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