public final class ClassloadingUtil extends Object
Is't required to use a Security Block on any calls to this class.
Constructor and Description |
---|
ClassloadingUtil() |
Modifier and Type | Method and Description |
---|---|
static URL |
findResource(ClassLoader loader,
String resourceName) |
static URL |
findResource(String resourceName) |
static Properties |
loadProperties(ClassLoader loader,
String propertiesFile) |
static String |
loadProperty(ClassLoader loader,
String propertiesFile,
String name) |
static Object |
newInstanceFromClassLoader(String className) |
static Object |
newInstanceFromClassLoader(String className,
Object... objs) |
public static Object newInstanceFromClassLoader(String className, Object... objs)
public static URL findResource(ClassLoader loader, String resourceName)
public static String loadProperty(ClassLoader loader, String propertiesFile, String name)
public static Properties loadProperties(ClassLoader loader, String propertiesFile)
Copyright © 2019 JBoss by Red Hat. All rights reserved.