Package org.nuxeo.ecm.webengine.install
Class Installer
- java.lang.Object
-
- org.nuxeo.ecm.webengine.install.Installer
-
public class Installer extends Object
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected RuntimeContext
ctx
String
module
-
Constructor Summary
Constructors Constructor Description Installer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
copyResources(org.osgi.framework.Bundle bundle, String path, File root)
org.osgi.framework.Bundle
getBundle()
protected File
getBundleFile(org.osgi.framework.Bundle bundle)
RuntimeContext
getContext()
protected File
getTempBundleDir(org.osgi.framework.Bundle bundle)
void
install(RuntimeContext ctx, File installDir)
void
logError(String message)
void
logError(String message, Throwable t)
void
logInfo(String message)
void
logTrace(String message)
void
logWarning(String message)
void
uninstall(RuntimeContext ctx, File installDir)
-
-
-
Field Detail
-
module
public String module
-
ctx
protected RuntimeContext ctx
-
-
Method Detail
-
getBundle
public org.osgi.framework.Bundle getBundle()
-
getContext
public RuntimeContext getContext()
-
logError
public void logError(String message)
-
logInfo
public void logInfo(String message)
-
logWarning
public void logWarning(String message)
-
logTrace
public void logTrace(String message)
-
install
public void install(RuntimeContext ctx, File installDir)
-
uninstall
public void uninstall(RuntimeContext ctx, File installDir)
-
copyResources
public static void copyResources(org.osgi.framework.Bundle bundle, String path, File root) throws IOException
- Throws:
IOException
-
getTempBundleDir
protected File getTempBundleDir(org.osgi.framework.Bundle bundle)
-
getBundleFile
protected File getBundleFile(org.osgi.framework.Bundle bundle)
-
-