public class URLJarFileIntrospector extends Object
Modifier and Type | Field and Description |
---|---|
protected Method |
factoryCloseMethod |
protected Method |
factoryGetMethod |
protected Method |
getJarFileMethod |
protected Field |
jarField |
Constructor and Description |
---|
URLJarFileIntrospector() |
Modifier and Type | Method and Description |
---|---|
void |
close(URL location) |
protected Object |
fetchFactory() |
protected static Class<?> |
loadClass(String name) |
JarFileCloser |
newJarFileCloser(ClassLoader loader) |
protected URLClassLoaderCloser |
newURLClassLoaderCloser(URLClassLoader loader) |
protected Method factoryGetMethod
protected Method factoryCloseMethod
protected Method getJarFileMethod
public URLJarFileIntrospector() throws URLJarFileIntrospectionError
URLJarFileIntrospectionError
protected Object fetchFactory() throws URLJarFileIntrospectionError
URLJarFileIntrospectionError
protected static Class<?> loadClass(String name) throws ClassNotFoundException
ClassNotFoundException
public JarFileCloser newJarFileCloser(ClassLoader loader) throws URLJarFileIntrospectionError
URLJarFileIntrospectionError
protected URLClassLoaderCloser newURLClassLoaderCloser(URLClassLoader loader) throws URLJarFileIntrospectionError
URLJarFileIntrospectionError
public void close(URL location) throws IOException
IOException
Copyright © 2016 Nuxeo SA. All rights reserved.