|
||||||||||
| 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.servicemix.jbi.deployer.handler.URLHandler
public class URLHandler
A URL handler that will transform a JBI artifact to an OSGi bundle on the fly. Needs to be registered in the OSGi registry.
| Field Summary |
|---|
| Fields inherited from class org.osgi.service.url.AbstractURLStreamHandlerService |
|---|
realHandler |
| Constructor Summary | |
|---|---|
URLHandler()
|
|
| Method Summary | |
|---|---|
URLConnection |
openConnection(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 URLHandler()
| Method Detail |
|---|
public URLConnection openConnection(URL url)
throws IOException
openConnection in interface org.osgi.service.url.URLStreamHandlerServiceopenConnection in class org.osgi.service.url.AbstractURLStreamHandlerServiceurl - the url from which to open a connection.
IOException - if an error occurs or if the URL is malformed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||