List of usage examples for java.net URLStreamHandlerFactory interface-usage
From source file org.mule.util.MuleUrlStreamHandlerFactory.java
/**
* A factory for loading URL protocol handlers. This factory is necessary to make
* Mule work in cases where the standard approach using system properties does not
* work, e.g. in application servers or with maven's surefire tests.
* <p>
* Client classes can register a subclass of {@link URLStreamHandler} for a given
From source file com.t3.net.RPTURLStreamHandlerFactory.java
public class RPTURLStreamHandlerFactory implements URLStreamHandlerFactory { private static Map<String, byte[]> imageMap = new HashMap<String, byte[]>(); private Map<String, URLStreamHandler> protocolMap = new HashMap<String, URLStreamHandler>();
From source file Main.java
/**
* A factory for loading URL protocol handlers. This is based
* on Sun's URL mechanism, in that <tt>Handler</tt> classes will be
* searched for in the packages specified by the java.protocol.handler.pkgs
* property are searched for classes matching the protocol + ".Handler"
* classname. The default JBoss package "org.jboss.net.protocol" is searched
From source file org.ops4j.pax.runner.handler.internal.URLStreamHandlerExtender.java
/**
* An extender that implements URLStreamHandlerFactory.
* Registers/unregisters URLStreamHandlerService as URLStreamHandler's.
* Note that this is not full proven URL Handler Service implementation. It does just enough to be used in runner.
*
* @author Alin Dreghiciu
From source file net.sf.ufsc.SessionFactory.java
/** * A factory for obtaining sessions. * @author Paul Ferraro * @since 1.0 */ public class SessionFactory implements URLStreamHandlerFactory {
From source file com.jaspersoft.jasperserver.api.engine.jasperreports.util.repo.RepositoryURLHandlerFactory.java
/** * @author Lucian Chirita (lucianc@users.sourceforge.net) * @version $Id: RepositoryURLHandlerFactory.java 47331 2014-07-18 09:13:06Z kklein $ */ public class RepositoryURLHandlerFactory implements URLStreamHandlerFactory { protected static final Log log = LogFactory.getLog(RepositoryURLHandlerFactory.class);
From source file DummyAppletContext.java
/**
* DummyAppletContext - implements AppletContext and AppletStub to allow any
* applet to easily run as an application. The only thing it can't do is
* access URL's. Applet parameters are entered on the command line with
* name as one word and value as the next.
*