Github user ahgittin commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/197#discussion_r18284971
  
    --- Diff: api/src/main/java/brooklyn/management/ManagementContext.java ---
    @@ -205,5 +212,12 @@
     
         /** Active entitlements checker instance. */
         EntitlementManager getEntitlementManager();
    -    
    + 
    +
    +    /** as {@link #lookup(String, Class)} but not constraining the return 
type */
    +    public BrooklynObject lookup(String id);
    +    /** finds an entity with the given ID known at this management context 
*/
    +    // TODO in future support policies etc
    +    public <T> T lookup(String id, Class<T> type); 
    --- End diff --
    
    +1


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to