| Modifier and Type | Class and Description |
|---|---|
static class | LoadClientAppsJob.DelayedRunClientPublic for router console only, not for use by others, subject to change |
| Constructor and Description |
|---|
LoadClientAppsJob(RouterContext ctx)LoadClientAppsJob. |
| Modifier and Type | Method and Description |
|---|---|
String | getName()Descriptive name of the task |
static String[] | parseArgs(String args)Parse arg string into an array of args. |
static void | runClient(String className,
String clientName,
String[] args,
RouterContext ctx,
Log log)Run client in a new thread. |
static void | runClient(String className,
String clientName,
String[] args,
RouterContext ctx,
Log log,
ThreadGroup threadGroup,
ClassLoader cl)Run client in a new thread. |
static void | runClientInline(String className,
String clientName,
String[] args,
Log log)Run client in this thread. |
static void | runClientInline(String className,
String clientName,
String[] args,
Log log,
ClassLoader cl)Run client in this thread. |
void | runJob()runJob. |
static void | testClient(String className,
ClassLoader cl)Use to test if the class is present,
to propagate an error back to the user,
since runClient() runs in a separate thread. |
dropped, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toStringpublic LoadClientAppsJob(RouterContext ctx)
public String getName()
Jobpublic static String[] parseArgs(String args)
args - may be nullpublic static void runClient(String className, String clientName, String[] args, RouterContext ctx, Log log)
clientName - can be nullargs - can be nullpublic static void runClient(String className, String clientName, String[] args, RouterContext ctx, Log log, ThreadGroup threadGroup, ClassLoader cl)
clientName - can be nullargs - can be nullthreadGroup - can be nullcl - can be nullpublic static void runClientInline(String className, String clientName, String[] args, Log log) throws Exception
clientName - can be nullargs - can be nullException - just about anything, caller would be wise to catch Throwablepublic static void runClientInline(String className, String clientName, String[] args, Log log, ClassLoader cl) throws Exception
clientName - can be nullargs - can be nullcl - can be nullException - just about anything, caller would be wise to catch Throwablepublic void runJob()
public static void testClient(String className, ClassLoader cl) throws ClassNotFoundException
cl - can be nullClassNotFoundException