You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Doug Fischer (JIRA)" <ji...@apache.org> on 2006/10/31 18:50:02 UTC

[jira] Created: (SM-729) Inverse classloader definition in xbean SU

Inverse classloader definition in xbean SU
------------------------------------------

                 Key: SM-729
                 URL: https://issues.apache.org/activemq/browse/SM-729
             Project: ServiceMix
          Issue Type: Improvement
          Components: servicemix-common
    Affects Versions: 3.0
            Reporter: Doug Fischer


Guillaume has updated the classloader definition here: http://issues.apache.org/activemq/browse/SM-673 however if inverse classloading is required you would still need to specify the classpath location elements.  Possibly, if something like specifying an empty classpath element (ex. <classpath inverse="true" />) would still include the default SU classpath (".", "lib/*.jar", "lib/*.zip") this would solve the issue.  The other notions of nonOverridable and hidden could still be potential issues unless mabye there was an additional attribute for classpath like the following:

<classpath inverse="true" default="true">
    <nonOverridable>true</nonOverridable>
    <hidden>true</hidden>
</classpath>

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

        

[jira] Resolved: (SM-729) Inverse classloader definition in xbean SU

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-729?page=all ]

Guillaume Nodet resolved SM-729.
--------------------------------

    Fix Version/s: 3.1
       Resolution: Fixed
         Assignee: Guillaume Nodet

Default locations are now used when no <location> tag is provided.
So that you can use

  <classpath inverse="true"  />

or

  <classpath>
    <hidden>com.thoughtworks.xstream.</hidden>
  </classpath>

while still using the default locations.

Author: gnodet
Date: Tue Oct 31 11:57:34 2006
New Revision: 469628

URL: http://svn.apache.org/viewvc?view=rev&rev=469628
Log:
SM-729: Inverse classloader definition in xbean SU with default locations

Modified:
   incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/ClassLoaderXmlPreprocessor.java
   incubator/servicemix/trunk/servicemix-common/src/test/resources/xbean-inline/xbean.xml


> Inverse classloader definition in xbean SU
> ------------------------------------------
>
>                 Key: SM-729
>                 URL: https://issues.apache.org/activemq/browse/SM-729
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-common
>    Affects Versions: 3.0
>            Reporter: Doug Fischer
>         Assigned To: Guillaume Nodet
>             Fix For: 3.1
>
>
> Guillaume has updated the classloader definition here: http://issues.apache.org/activemq/browse/SM-673 however if inverse classloading is required you would still need to specify the classpath location elements.  Possibly, if something like specifying an empty classpath element (ex. <classpath inverse="true" />) would still include the default SU classpath (".", "lib/*.jar", "lib/*.zip") this would solve the issue.  The other notions of nonOverridable and hidden could still be potential issues unless mabye there was an additional attribute for classpath like the following:
> <classpath inverse="true" default="true">
>     <nonOverridable>true</nonOverridable>
>     <hidden>true</hidden>
> </classpath>

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