com.liferay.portal.util
Class JarUtil
java.lang.Object
com.liferay.portal.util.JarUtil
public class JarUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JarUtil
public JarUtil()
downloadAndInstallJar
public static void downloadAndInstallJar(boolean globalClassPath,
String url,
String name,
InstallStatus installStatus)
throws Exception
- Throws:
Exception
installJar
public static void installJar(boolean globalClassPath,
String name)
throws Exception
- Throws:
Exception
addJarFileToClassLoader
protected static void addJarFileToClassLoader(File file)
throws Exception
- Throws:
Exception
installJar
protected static void installJar(byte[] bytes,
boolean globalClassPath,
String name)
throws Exception
- Throws:
Exception
setInstallStatus
protected static void setInstallStatus(InstallStatus installStatus,
int status)