public class SALauncherLoader
extends java.net.URLClassLoader
Constructor and Description |
---|
SALauncherLoader(java.lang.ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
findLibrary(java.lang.String name)
Checks native libraries under directories specified using
the System property "sa.library.path".
|
protected java.security.PermissionCollection |
getPermissions(java.security.CodeSource codesource)
allow any classes loaded from classpath to exit the VM.
|
java.lang.Class |
loadClass(java.lang.String name,
boolean resolve)
Override loadClass so we can checkPackageAccess.
|
addURL, close, definePackage, findClass, findResource, findResources, getResourceAsStream, getURLs, newInstance, newInstance
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public java.lang.String findLibrary(java.lang.String name)
findLibrary
in class java.lang.ClassLoader
public java.lang.Class loadClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
protected java.security.PermissionCollection getPermissions(java.security.CodeSource codesource)
getPermissions
in class java.net.URLClassLoader
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.