org.apache.karaf.deployer.kar
Class KarArtifactInstaller
java.lang.Object
org.apache.karaf.deployer.kar.KarArtifactInstaller
- All Implemented Interfaces:
- org.apache.felix.fileinstall.ArtifactInstaller, org.apache.felix.fileinstall.ArtifactListener
public class KarArtifactInstaller
- extends java.lang.Object
- implements org.apache.felix.fileinstall.ArtifactInstaller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KarArtifactInstaller
public KarArtifactInstaller()
init
public void init()
destroy
public void destroy()
install
public void install(java.io.File file)
throws Exception
- Specified by:
install
in interface org.apache.felix.fileinstall.ArtifactInstaller
- Throws:
Exception
uninstall
public void uninstall(java.io.File file)
throws Exception
- Specified by:
uninstall
in interface org.apache.felix.fileinstall.ArtifactInstaller
- Throws:
Exception
update
public void update(java.io.File file)
throws Exception
- Specified by:
update
in interface org.apache.felix.fileinstall.ArtifactInstaller
- Throws:
Exception
updateTimestamp
protected void updateTimestamp(java.io.File karafArchive)
throws Exception
- Throws:
Exception
alreadyExtracted
protected boolean alreadyExtracted(java.io.File karafArchive)
getArchiveTimestampFile
protected java.io.File getArchiveTimestampFile(java.io.File karafArchive)
isFeaturesRepository
protected boolean isFeaturesRepository(java.io.File artifact)
parse
protected org.w3c.dom.Document parse(java.io.File artifact)
throws Exception
- Throws:
Exception
canHandle
public boolean canHandle(java.io.File file)
- Specified by:
canHandle
in interface org.apache.felix.fileinstall.ArtifactListener
deleteLocalRepository
public boolean deleteLocalRepository()
setBasePath
public void setBasePath(java.lang.String base)
setLocalRepoPath
public void setLocalRepoPath(java.lang.String localRepoPath)
setFeaturesService
public void setFeaturesService(FeaturesService featuresService)
Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.