public class KarArtifactInstaller extends Object implements org.apache.felix.fileinstall.ArtifactInstaller
| Modifier and Type | Field and Description |
|---|---|
static String |
FEATURES_CLASSIFIER |
| Constructor and Description |
|---|
KarArtifactInstaller() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
alreadyExtracted(File karafArchive) |
boolean |
canHandle(File file) |
boolean |
deleteLocalRepository() |
void |
destroy() |
protected File |
getArchiveTimestampFile(File karafArchive) |
void |
init() |
void |
install(File file) |
protected boolean |
isFeaturesRepository(File artifact) |
boolean |
isNoAutoRefreshBundles() |
protected Document |
parse(File artifact) |
void |
setBasePath(String base) |
void |
setFeaturesService(org.apache.karaf.features.FeaturesService featuresService) |
void |
setLocalRepoPath(String localRepoPath) |
void |
setNoAutoRefreshBundles(boolean noAutoRefreshBundles) |
void |
uninstall(File file) |
void |
update(File file) |
protected void |
updateTimestamp(File karafArchive) |
public static final String FEATURES_CLASSIFIER
public void init()
public void destroy()
public void install(File file) throws Exception
install in interface org.apache.felix.fileinstall.ArtifactInstallerExceptionpublic void uninstall(File file) throws Exception
uninstall in interface org.apache.felix.fileinstall.ArtifactInstallerExceptionpublic void update(File file) throws Exception
update in interface org.apache.felix.fileinstall.ArtifactInstallerExceptionprotected void updateTimestamp(File karafArchive) throws Exception
Exceptionprotected boolean alreadyExtracted(File karafArchive)
protected boolean isFeaturesRepository(File artifact)
public boolean canHandle(File file)
canHandle in interface org.apache.felix.fileinstall.ArtifactListenerpublic boolean deleteLocalRepository()
public void setBasePath(String base)
public void setLocalRepoPath(String localRepoPath)
public void setFeaturesService(org.apache.karaf.features.FeaturesService featuresService)
public boolean isNoAutoRefreshBundles()
public void setNoAutoRefreshBundles(boolean noAutoRefreshBundles)
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.