brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neykov <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: Brooklyn features
Date Wed, 03 Jun 2015 13:18:30 GMT
Github user neykov commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/675#discussion_r31620874
  
    --- Diff: core/src/main/java/brooklyn/management/classloading/BrooklynClassLoadingContextSequential.java
---
    @@ -101,6 +102,18 @@ public URL getResource(String resourceInThatDir) {
         }
     
         @Override
    +    public Iterable<URL> getResources(String name) {
    +        List<Iterable<URL>> resources = Lists.newArrayList();
    +        for (BrooklynClassLoadingContext target : primaries) {
    +            resources.add(target.getResources(name));
    +        }
    +        for (BrooklynClassLoadingContext target : secondaries) {
    +            resources.add(target.getResources(name));
    +        }
    +        return Iterables.concat(resources);
    --- End diff --
    
    It's often the case that the application class loader will be contained multiple times
in the BCLCs, even in a single one, leading resources.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message