List of usage examples for java.security ProtectionDomain getClassLoader
public final ClassLoader getClassLoader()
From source file:jp.gr.java_conf.schkit.utils.ApplicationInfo.java
private ApplicationInfo() { try {/*from w w w. j a va 2 s.c om*/ ProtectionDomain domain = this.getClass().getProtectionDomain(); classLotation = domain.getCodeSource().getLocation(); classLoader = (URLClassLoader) domain.getClassLoader(); loadManifest(); // setDirectories(); } catch (Exception e) { } }