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() |
DriverInterface |
iDriver() |
protected void |
initializeJSAFS()
|
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.
|
preloadAppMapExpressions, preloadAppMaps, processExpression, processExpressions, runComponentFunction, runComponentFunction, runComponentFunction, runComponentFunctionConverted, runDriverCommand, runDriverCommandConvertedpublic static boolean running
public static boolean allow_shutdown
shutdownJSAFS()public final java.lang.Thread SHUTDOWN_HOOK
protected JSAFSDriver jsafs()
AbstractDriverjsafs in class AbstractDriverprotected InputProcessor processor()
AbstractDriverprocessor in class AbstractDriverpublic static void setIDriver(DriverInterface iDriver)
public static DriverInterface getIDriver()
public DriverInterface iDriver()
iDriver in class AbstractDriver#setIDriver(DriverInterface),
JSAFSDriver,
InputProcessorprotected void initializeJSAFS()
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.Exceptionallow_shutdown,
JSAFSDriver.shutdown()public void shutdown()
throws java.lang.Exception
AbstractDrivershutdown in class AbstractDriverjava.lang.Exceptionpublic void run()
throws java.lang.Exception
AbstractDriverrun in class AbstractDriverjava.lang.ExceptionCopyright © SAS Institute. All Rights Reserved.