public class JarFileFactoryCloser extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Object |
factory |
protected Method |
factoryCloseMethod |
protected Method |
factoryGetMethod |
protected boolean |
ok |
| Constructor and Description |
|---|
JarFileFactoryCloser() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(URL location) |
protected void |
introspectClasses() |
protected static Class<?> |
loadClass(String name) |
protected boolean ok
protected Object factory
protected Method factoryGetMethod
protected Method factoryCloseMethod
protected void introspectClasses()
throws ClassNotFoundException,
SecurityException,
NoSuchFieldException,
IllegalAccessException,
NoSuchMethodException
protected static Class<?> loadClass(String name) throws ClassNotFoundException
ClassNotFoundExceptionpublic void close(URL location) throws IOException
IOExceptionCopyright © 2019 Nuxeo SA. All rights reserved.