public class Installer extends Object
Modifier and Type | Field and Description |
---|---|
protected RuntimeContext |
ctx |
String |
module |
Constructor and Description |
---|
Installer() |
Modifier and Type | Method and 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) |
protected RuntimeContext ctx
public Installer()
public org.osgi.framework.Bundle getBundle()
public RuntimeContext getContext()
public void logWarning(String message)
public void install(RuntimeContext ctx, File installDir)
public void uninstall(RuntimeContext ctx, File installDir)
public static void copyResources(org.osgi.framework.Bundle bundle, String path, File root) throws IOException
IOException
protected File getTempBundleDir(org.osgi.framework.Bundle bundle)
protected File getBundleFile(org.osgi.framework.Bundle bundle)
Copyright © 2017 Nuxeo. All rights reserved.