§6.1.(b) Behavioral reflection
The following reflective methods defined in org.objectteams.ITeam can be used to
inspect the dynamic behavior of a team:
boolean isExecutingCallin () ;
- This method is used to inspect whether a control flow has already been intercepted by at least one callin binding of the current
team.
It can be used to avoid undesirable re-entrance to a team.
boolean isActive () ;
- This method checks whether the team instance is active for the current thread.
boolean isActive ( Thread aThread ) ;
- This method checks whether the team instance is active for the thread
aThread
.