<< §5.3.(c) Nested teams | ↑ Table of Contents ↑ |
§5.3.(d) Configuring implicit activation
Implicit activation is disabled by default and can be enabled by adding the annotation
@org.objectteams.ImplicitTeamActivation
, which can be applied to a type or a method.
When applied to a method it is ensured that invoking this method will trigger implicit activation.
When the annotation is applied to a type this has the same effect as applying it to all externally
visible methods of the type. Member types are not affected and have to be annotated separately.
The runtime environment can be configured globally by defining the system property
ot.implicit.team.activation
to one of these values:
- NEVER
- Implicit activation is completely disabled.
- ANNOTATED
- This is the default: implicit activation applies only where declared by
@ImplicitTeamActivation
. - ALWAYS
- Implicit activation applies to all externally visible methods (this was the default in OTJLD versions ≤1.2)
<< §5.3.(c) Nested teams | ↑ Table of Contents ↑ |