Package org.apache.felix.framework.cache
Class ConnectRevision
java.lang.Object
org.apache.felix.framework.cache.BundleArchiveRevision
org.apache.felix.framework.cache.ConnectRevision
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConnectRevision(Logger logger, Map<?, ?> configMap, WeakZipFileFactory zipFactory, File revisionRootDir, String location, ConnectModule module) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclose()This method is called when the revision is no longer needed.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
-
Field Details
-
m_zipFactory
-
m_module
-
-
Constructor Details
-
ConnectRevision
public ConnectRevision(Logger logger, Map<?, ?> configMap, WeakZipFileFactory zipFactory, File revisionRootDir, String location, ConnectModule module) throws Exception- Throws:
Exception
-
-
Method Details
-
getManifestHeader
Description 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:
Exception- if any error occurs.
-
getContent
- Specified by:
getContentin classBundleArchiveRevision- Throws:
Exception
-
close
Description 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:
Exception- if any error occurs.
-