servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] Commented: (SMXCOMP-856) Add file attribute in the xbean <classpath/>
Date Fri, 18 Feb 2011 10:39:38 GMT

    [ https://issues.apache.org/jira/browse/SMXCOMP-856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996332#comment-12996332
] 

Jean-Baptiste Onofré commented on SMXCOMP-856:
----------------------------------------------

I moved this new feature in components because the xbean read and management is performed
by servicemix-common/servicemix-shared.

> Add file attribute in the xbean <classpath/>
> --------------------------------------------
>
>                 Key: SMXCOMP-856
>                 URL: https://issues.apache.org/jira/browse/SMXCOMP-856
>             Project: ServiceMix Components
>          Issue Type: New Feature
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2011.02
>
>
> Currently, the user can tune the SU classloader using the <classpath/> element
in the xbean.xml.
> <classpath [inverse="true"]>
>   [<nonOverridable>xxx</nonOverridable>]*
>   [<hidden>xxx</hidden>]*
>   [<location>xxx</location>]*
>   [<library>xxx</library>]*
>   [<component>xxx</component>]*
> </classpath>
> We made improvement to use regexp/wildcard, system variables into a location.
> Unfortunately, it's a not possible to use a properties file containing the classpath
locations (loading using PropertyPlaceholder) because the classloader is not yet setup and
so the spring bean is not yet loaded.
> I propose to add a new element in the <classpath/> one: <file/>.
> The <file/> element contains a the path/URL to a file containing the <classpath/>.
> With this, the user can now define the SU classloader using an "external" file (as a
kind of classloader properties file).

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

       

Mime
View raw message