org.apache.aries.web.url
Class WAR_URLServiceHandler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by org.osgi.service.url.AbstractURLStreamHandlerService
          extended by org.apache.aries.web.url.WAR_URLServiceHandler
All Implemented Interfaces:
org.osgi.framework.BundleActivator, org.osgi.service.url.URLStreamHandlerService

public class WAR_URLServiceHandler
extends org.osgi.service.url.AbstractURLStreamHandlerService
implements org.osgi.framework.BundleActivator


Field Summary
 
Fields inherited from class org.osgi.service.url.AbstractURLStreamHandlerService
realHandler
 
Constructor Summary
WAR_URLServiceHandler()
           
 
Method Summary
 URLConnection openConnection(URL url)
           
 void parseURL(URL u, String spec, int start, int limit)
           
 void start(org.osgi.framework.BundleContext context)
           
 void stop(org.osgi.framework.BundleContext arg0)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WAR_URLServiceHandler

public WAR_URLServiceHandler()
Method Detail

openConnection

public URLConnection openConnection(URL url)
                             throws IOException
Specified by:
openConnection in interface org.osgi.service.url.URLStreamHandlerService
Specified by:
openConnection in class org.osgi.service.url.AbstractURLStreamHandlerService
Throws:
IOException

parseURL

public void parseURL(URL u,
                     String spec,
                     int start,
                     int limit)
Overrides:
parseURL in class URLStreamHandler

start

public void start(org.osgi.framework.BundleContext context)
           throws Exception
Specified by:
start in interface org.osgi.framework.BundleActivator
Throws:
Exception

stop

public void stop(org.osgi.framework.BundleContext arg0)
          throws Exception
Specified by:
stop in interface org.osgi.framework.BundleActivator
Throws:
Exception


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.