Github user neykov commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/542#discussion_r26615641
--- Diff:
usage/rest-server/src/main/java/brooklyn/rest/resources/ApplicationResource.java
---
@@ -82,6 +83,7 @@
import com.google.common.collect.FluentIterable;
import com.google.common.collect.Iterables;
+@HaHotStateRequired
--- End diff --
Both ways can be used, but having class-wide annotation is better in this
case as it is too easy to miss the annotation in newly added methods. If we
need to be more selective, then method-scope is implemented as well.
---
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.
---