Package org.apache.synapse.unittest
Class UnitTestingExecutor
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.synapse.unittest.UnitTestingExecutor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description UnitTestingExecutor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnitTestingExecutorgetExecuteInstance()Return initialized UnitTestingExecutor initializeThread object.SynapseConfigurationgetSynapseConfiguration()get the current SynapseConfiguration.voidrun()Method of executing thread of agent.voidsetSynapseConfiguration(SynapseConfiguration synapseConfiguration)set the current SynapseConfiguration.-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Method Detail
-
getExecuteInstance
public static UnitTestingExecutor getExecuteInstance()
Return initialized UnitTestingExecutor initializeThread object.
-
run
public void run()
Method of executing thread of agent.
-
getSynapseConfiguration
public SynapseConfiguration getSynapseConfiguration()
get the current SynapseConfiguration.- Returns:
- SynapseConfiguration
-
setSynapseConfiguration
public void setSynapseConfiguration(SynapseConfiguration synapseConfiguration)
set the current SynapseConfiguration.- Parameters:
synapseConfiguration- synapse configuration
-
-