public class UnrestrictedSessionRunnerHelper extends Object
UnrestrictedSessionRunner
in a separate
threadModifier and Type | Method and Description |
---|---|
static void |
runInNewThread(UnrestrictedSessionRunner runner)
Launch the given
UnrestrictedSessionRunner in a separate thread
and wait for it to finish. |
public static void runInNewThread(UnrestrictedSessionRunner runner)
UnrestrictedSessionRunner
in a separate thread
and wait for it to finish.runner
- the UnrestrictedSessionRunner
to launchDamRuntimeException
- If the thread is interrupted or if the
runner
throws a ClientException
.Copyright © 2011 Nuxeo SA. All Rights Reserved.