org.apache.tapestry5.ioc.services
Interface ClasspathURLConverter

All Known Implementing Classes:
ClasspathURLConverterImpl

public interface ClasspathURLConverter

Used by ClassNameLocator to convert URLs from one protocol to another. This is a hook for supporting OSGi, allowing "bundleresource" and "bundleentry" protocols to be converted to "jar:" or "file:".


Method Summary
 URL convert(URL url)
          Passed a URL provided by ClassLoader.getResources(String) to check to see if can be converted.
 

Method Detail

convert

URL convert(URL url)
Passed a URL provided by ClassLoader.getResources(String) to check to see if can be converted.

Parameters:
url - to check
Returns:
the url, or an equivalent url of type jar: or file:


Copyright © 2003-2012 The Apache Software Foundation.