org.apache.karaf.tooling.features
Class SpringURLHandler
java.lang.Object
java.net.URLStreamHandler
org.apache.karaf.tooling.features.SpringURLHandler
public class SpringURLHandler
- extends URLStreamHandler
As org.apache.karaf.deployer.spring.SpringURLHandler need run with OSGi container
so create this class only used for features-maven-plugin
| Methods inherited from class java.net.URLStreamHandler |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringURLHandler
public SpringURLHandler()
openConnection
public URLConnection openConnection(URL url)
throws IOException
- Open the connection for the given URL.
- Specified by:
openConnection in class URLStreamHandler
- Parameters:
url - the url from which to open a connection.
- Returns:
- a connection on the specified URL.
- Throws:
IOException - if an error occurs or if the URL is malformed.
getSpringXmlURL
public URL getSpringXmlURL()
Copyright © 2007-2013 FuseSource, Corp.. All Rights Reserved.