When declaring participants in the participants.xml file, it's possible to add an optional name attribute. This allows you to use several participants of the class by differentiating them through their name. If no name is specified (as before) the class name is used.
Rep's getParticipant method has also been updated accordingly since it now looks up participants by name instead of by class name. Note that this is fully backwards compatible. Also, even though a participant has been registered with a name, it'll still be known under its class name. When a class name is provided as the argument, the first known participant of that class will be returned. This can be seen as the default participant for the specified type.
The repository will now also clean all participants up in the reverse order of their registration. Each participant can optionally overload the cleanup() with the logic that needs to be executed to nicely terminate the participant. The whole cleanup procedure will be called when the virtual machine shuts down, or when the gate servlet or filter is destroyed.