public class Driver extends AbstractDriver
JSAFSDriver
Modifier and Type | Field and Description |
---|---|
static boolean |
allow_shutdown
Set to false to prevent JSAFS from shutting down on a call to shutdownJSAFS().
|
static boolean |
running |
java.lang.Thread |
SHUTDOWN_HOOK
This is an 'AfterAll' JVM ShutdownHook--if it is needed.
|
_instance, APPMAP_FILES_PROPERTY, APPMAP_ORDER_PROPERTY, BASH, COMMA, DEFAULT_APPMAP_ORDER, HASH, SEMI
Constructor and Description |
---|
Driver() |
Modifier and Type | Method and Description |
---|---|
void |
beforeAll()
Must be called at least once to initialize the internal JSAFSDriver.
|
static DriverInterface |
getIDriver() |
protected JSAFSDriver |
jsafs()
Return the possible embedded JSAFSDriver.
|
protected InputProcessor |
processor()
Return the possible embedded InputProcessor.
|
void |
run()
Initiates the embedded drivers and engines to start running if it is not already running.
|
static void |
setIDriver(DriverInterface iDriver) |
void |
shutdown()
Shutdown the driver and all related resources such as hooks, engines, services and logs etc.
|
static void |
shutdownJSAFS()
Used to invoke the JSAFSDriver shutdown function.
|
iDriver, preloadAppMapExpressions, preloadAppMaps, processExpression, processExpressions, runComponentFunction, runComponentFunction, runComponentFunction, runComponentFunctionConverted, runDriverCommand, runDriverCommandConverted
public static boolean running
public static boolean allow_shutdown
shutdownJSAFS()
public final java.lang.Thread SHUTDOWN_HOOK
protected JSAFSDriver jsafs()
AbstractDriver
jsafs
in class AbstractDriver
protected InputProcessor processor()
AbstractDriver
processor
in class AbstractDriver
public static void setIDriver(DriverInterface iDriver)
public static DriverInterface getIDriver()
public void beforeAll()
It can be called automatically by annotations (dependency injection), or be called from an overriding test controller like a JUnit runner, if appropriate.
AutoConfigureJSAFS
,
Runner.autorun(String[])
public static void shutdownJSAFS() throws java.lang.Exception
java.lang.Exception
allow_shutdown
,
JSAFSDriver.shutdown()
public void shutdown() throws java.lang.Exception
AbstractDriver
shutdown
in class AbstractDriver
java.lang.Exception
public void run() throws java.lang.Exception
AbstractDriver
run
in class AbstractDriver
java.lang.Exception
Copyright © SAS Institute. All Rights Reserved.