ParticipantObserver¶
-
public interface
ParticipantObserver¶ Interface for observing
Participantcreation and destruction. Since methods of this interface are called during state switching ofParticipantinstances, theParticipant.isActive()method might still return an old state during calls to methods in this interface.- Author
swrede, jwienke, jmoringe
Methods¶
created¶
-
void
created(Participant participant, ParticipantCreateArgs<?> args)¶ Will be called in case a new
Participanthas just been created.- Parameters
participant – the newly created participant
args – the arguments used for creating this participant
destroyed¶
-
void
destroyed(Participant participant)¶ Will be called in case a
Participantis about to be destroyed.- Parameters
participant – the participant that will be destroyed