camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-3736) BeanDefinition.beanType should be of type String rather than Class so that the XML can be parsed without necessarily having the full class loader available at XML parse time. does using Class even work?
Date Tue, 01 Mar 2011 13:47:36 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-3736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen updated CAMEL-3736:
-------------------------------

          Component/s: camel-spring
                       camel-core
    Affects Version/s: 2.6.0

> BeanDefinition.beanType should be of type String rather than Class so that the XML can
be parsed without necessarily having the full class loader available at XML parse time. does
using Class even work?
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3736
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3736
>             Project: Camel
>          Issue Type: Task
>          Components: camel-core, camel-spring
>    Affects Versions: 2.6.0
>            Reporter: james strachan
>            Assignee: Claus Ibsen
>             Fix For: 2.7.0
>
>
> Its probably safer to make the Class attribute an @XmlTransient and add an @XmlAttribute
String type field/attribute which is used to lazily create the beanType Class using the context/current
class loader so that JAXB doesn't need to have to worry about class loaders

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message