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

    https://github.com/apache/brooklyn-server/pull/482#discussion_r92217791
  
    --- Diff: 
camp/camp-brooklyn/src/main/java/org/apache/brooklyn/camp/brooklyn/spi/dsl/methods/DslComponent.java
 ---
    @@ -410,6 +424,7 @@ public String toString() {
             }
         }
     
    +    @DslAccessible
    --- End diff --
    
    (i.e. I thought the difference was that e.g. `attributeWhenReady()` and 
`config()` couldn't be invoked within `BrooklynDslInterpreter.evaluateOn()` 
using `DslDeferredFunctionCall.invoke()`  and so for them a 
`DslDeferredFunctionCall` object gets created, whereas general `DslComponents` 
get evaluated with an immediate `DslDeferredFunctionCall.invoke()`.   Now, 
however, both general `DslComponent`s like `parent()` and also e.g. 
`attributeWhenReady()/config()` are marked as `@DslAccessible`.


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