public class OSGiStreamHandlerFactoryService extends Object implements URLStreamHandlerFactory
URLStreamHandlerFactory
that provides URLStreamHandler
instances which are backed by an OSGi service.
The returned handler instances are proxies which allow the URL Stream Handler implementation to be changed at a later point
in time (the JRE caches the first URL Stream Handler returned for a given protocol).Constructor and Description |
---|
OSGiStreamHandlerFactoryService() |
public URLStreamHandler createURLStreamHandler(String protocol)
createURLStreamHandler
in interface URLStreamHandlerFactory
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.