brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sjcorbett <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: Lifecycle Enhancements
Date Fri, 29 Aug 2014 16:21:50 GMT
Github user sjcorbett commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/133#discussion_r16906644
  
    --- Diff: core/src/main/java/brooklyn/util/flags/TypeCoercions.java ---
    @@ -619,6 +619,16 @@ public BigInteger apply(Integer input) {
                     return BigInteger.valueOf(input);
                 }
             });
    +        registerAdapter(String.class, Class.class, new Function<String,Class>()
{
    +            @Override
    +            public Class apply(final String input) {
    +                try {
    +                    return Class.forName(input);
    --- End diff --
    
    No, me neither. If there's a management context somewhere it's just `mgmt.getCatalog().getRootClassLoader()`.


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