|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.net.URLStreamHandler
org.osgi.service.url.AbstractURLStreamHandlerService
org.apache.karaf.deployer.blueprint.BlueprintURLHandler
public class BlueprintURLHandler
A URL handler that will transform a JBI artifact to an OSGi bundle on the fly. Needs to be registered in the OSGi registry.
Nested Class Summary | |
---|---|
class |
BlueprintURLHandler.Connection
|
Field Summary |
---|
Fields inherited from class org.osgi.service.url.AbstractURLStreamHandlerService |
---|
realHandler |
Constructor Summary | |
---|---|
BlueprintURLHandler()
|
Method Summary | |
---|---|
java.net.URL |
getBlueprintXmlURL()
|
java.net.URLConnection |
openConnection(java.net.URL url)
Open the connection for the given URL. |
Methods inherited from class org.osgi.service.url.AbstractURLStreamHandlerService |
---|
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, parseURL, sameFile, setURL, setURL, toExternalForm |
Methods inherited from class java.net.URLStreamHandler |
---|
openConnection, parseURL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlueprintURLHandler()
Method Detail |
---|
public java.net.URLConnection openConnection(java.net.URL url) throws java.io.IOException
openConnection
in interface org.osgi.service.url.URLStreamHandlerService
openConnection
in class org.osgi.service.url.AbstractURLStreamHandlerService
url
- the url from which to open a connection.
java.io.IOException
- if an error occurs or if the URL is malformed.public java.net.URL getBlueprintXmlURL()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |