public class JarScriptLoader<KEY> extends AbstractScriptLoader<KEY>
log, scriptMap, scriptPath| 构造器和说明 |
|---|
JarScriptLoader() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
reloadScriptJarFTP(String ftpIp,
int ftpPort,
String username,
String password,
String resourceDir,
String jarName)
远程FTP加载Jar
|
void |
reloadScriptJarLocal(String jarPath)
加载本地Jar
|
executeCommand, executeCommand, foreach, getScriptpublic void reloadScriptJarLocal(String jarPath) throws ClassNotFoundException, InstantiationException, IllegalAccessException, IOException, ScriptException, NoSuchMethodException, SecurityException, IllegalArgumentException, InvocationTargetException
public void reloadScriptJarFTP(String ftpIp, int ftpPort, String username, String password, String resourceDir, String jarName) throws ScriptException, IOException, ClassNotFoundException, InstantiationException, IllegalAccessException, NoSuchMethodException, SecurityException, IllegalArgumentException, InvocationTargetException
ftpIp - ftpPort - username - password - resourceDir - jarName - ScriptExceptionIOExceptionClassNotFoundExceptionInstantiationExceptionIllegalAccessExceptionInvocationTargetExceptionIllegalArgumentExceptionSecurityExceptionNoSuchMethodExceptionCopyright © 2017. All rights reserved.