Class MultiThreadedListenerObjectExecutor

java.lang.Object
org.rribbit.execution.AbstractListenerObjectExecutor
org.rribbit.execution.MultiThreadedListenerObjectExecutor
All Implemented Interfaces:
ListenerObjectExecutor

public class MultiThreadedListenerObjectExecutor extends AbstractListenerObjectExecutor
This AbstractListenerObjectExecutor executes the ListenerObjects in parallel Threads. If there is only one ListenerObject to be executed, then it will be executed in the calling Thread and no new Thread will be created. Please note that spawning new Threads to execute the ListenerObjects will result in the loss of the transaction context. If the transaction context must be preserved, either make sure that only a single ListenerObject is executed or consider using the SequentialListenerObjectExecutor.
Author:
G.J. Schouten