org.apache.karaf.tooling.features
Class BlueprintURLHandler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by org.apache.karaf.tooling.features.BlueprintURLHandler

public class BlueprintURLHandler
extends java.net.URLStreamHandler

As org.apache.karaf.deployer.blueprint.BlueprintURLHandler need run with OSGi container so create this class only used for features-maven-plugin


Nested Class Summary
 class BlueprintURLHandler.Connection
           
 
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 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
 

Constructor Detail

BlueprintURLHandler

public BlueprintURLHandler()
Method Detail

openConnection

public java.net.URLConnection openConnection(java.net.URL url)
                                      throws java.io.IOException
Open the connection for the given URL.

Specified by:
openConnection in class java.net.URLStreamHandler
Parameters:
url - the url from which to open a connection.
Returns:
a connection on the specified URL.
Throws:
java.io.IOException - if an error occurs or if the URL is malformed.

getBlueprintXmlURL

public java.net.URL getBlueprintXmlURL()


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.