Package org.apache.felix.framework.cache
Class ConnectRevision
- java.lang.Object
-
- org.apache.felix.framework.cache.BundleArchiveRevision
-
- org.apache.felix.framework.cache.ConnectRevision
-
public class ConnectRevision extends BundleArchiveRevision
-
-
Constructor Summary
Constructors Constructor Description ConnectRevision(Logger logger, java.util.Map configMap, WeakZipFileFactory zipFactory, java.io.File revisionRootDir, java.lang.String location, ConnectModule module)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclose()This method is called when the revision is no longer needed.ContentgetContent()java.util.Map<java.lang.String,java.lang.Object>getManifestHeader()Returns the main attributes of the JAR file manifest header of the revision.-
Methods inherited from class org.apache.felix.framework.cache.BundleArchiveRevision
getConfig, getLocation, getLogger, getRevisionRootDir
-
-
-
-
Constructor Detail
-
ConnectRevision
public ConnectRevision(Logger logger, java.util.Map configMap, WeakZipFileFactory zipFactory, java.io.File revisionRootDir, java.lang.String location, ConnectModule module) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-
Method Detail
-
getManifestHeader
public java.util.Map<java.lang.String,java.lang.Object> getManifestHeader() throws java.lang.ExceptionDescription copied from class:BundleArchiveRevisionReturns the main attributes of the JAR file manifest header of the revision. The returned map is case insensitive.
- Specified by:
getManifestHeaderin classBundleArchiveRevision- Returns:
- the case-insensitive JAR file manifest header of the revision.
- Throws:
java.lang.Exception- if any error occurs.
-
getContent
public Content getContent() throws java.lang.Exception
- Specified by:
getContentin classBundleArchiveRevision- Throws:
java.lang.Exception
-
close
protected void close() throws java.lang.ExceptionDescription copied from class:BundleArchiveRevisionThis method is called when the revision is no longer needed. The directory associated with the revision will automatically be removed for each revision, so this method only needs to be concerned with other issues, such as open files.
- Specified by:
closein classBundleArchiveRevision- Throws:
java.lang.Exception- if any error occurs.
-
-