com.metamatrix.common.extensionmodule.protocol.extensionjar
Class Handler
java.lang.Object
java.net.URLStreamHandler
com.metamatrix.common.extensionmodule.protocol.extensionjar.Handler
public class Handler
- extends java.net.URLStreamHandler
A URLStreamHandler to make connections to the MetaMatrix Extension
Module Store(s) to retrieve class or resources. An instance of this
will be instantiated reflexively by the classloader framework, as
such it must retrieve it's ExtensionModuleManager instance from the
ExtensionModuleManager.getInstance() method.
Method Summary |
protected java.net.URLConnection |
openConnection(java.net.URL url)
|
protected void |
parseURL(java.net.URL url,
java.lang.String s,
int i,
int j)
|
Methods inherited from class java.net.URLStreamHandler |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, sameFile, setURL, setURL, toExternalForm |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Handler
public Handler()
openConnection
protected java.net.URLConnection openConnection(java.net.URL url)
throws java.io.IOException
- Specified by:
openConnection
in class java.net.URLStreamHandler
- Throws:
java.io.IOException
parseURL
protected void parseURL(java.net.URL url,
java.lang.String s,
int i,
int j)
- Overrides:
parseURL
in class java.net.URLStreamHandler
Copyright © 2009. All Rights Reserved.