Package org.apache.felix.framework
Class BundleProtectionDomain.RevisionAsJarURL
- java.lang.Object
-
- java.net.URLStreamHandler
-
- org.apache.felix.framework.BundleProtectionDomain.RevisionAsJarURL
-
- Enclosing class:
- BundleProtectionDomain
private static final class BundleProtectionDomain.RevisionAsJarURL extends java.net.URLStreamHandler
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.ref.WeakReference
m_revision
-
Constructor Summary
Constructors Modifier Constructor Description private
RevisionAsJarURL(BundleRevisionImpl revision)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.net.URL
create(BundleRevisionImpl revision)
private static boolean
getUseCachedURL(BundleRevisionImpl revision)
private static java.lang.String
getUseCachedURLProperty(BundleRevisionImpl revision)
protected java.net.URLConnection
openConnection(java.net.URL u)
-
-
-
Constructor Detail
-
RevisionAsJarURL
private RevisionAsJarURL(BundleRevisionImpl revision)
-
-
Method Detail
-
openConnection
protected java.net.URLConnection openConnection(java.net.URL u) throws java.io.IOException
- Specified by:
openConnection
in classjava.net.URLStreamHandler
- Throws:
java.io.IOException
-
getUseCachedURL
private static boolean getUseCachedURL(BundleRevisionImpl revision)
-
getUseCachedURLProperty
private static java.lang.String getUseCachedURLProperty(BundleRevisionImpl revision)
-
create
private static java.net.URL create(BundleRevisionImpl revision) throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
-
-