question: public void waitForExit ( ) throws IOException { Thread thread = Thread . currentThread ( ) ; ClassLoader oldLoader = thread . getContextClassLoader ( ) ; try { thread . setContextClassLoader ( _systemManager . getClassLoader ( ) ) ; _waitForExitService = new WaitForExitService3 ( this , _systemManager ) ; _waitForExitService . waitForExit ( ) ; } finally { thread . setContextClassLoader ( oldLoader ) ; } }
target:  Thread to wait until Baratine should be stopped.