public final class SecurityActions extends Object
Defines a set of operations that are meant to be executed within security context.
Modifier and Type | Method and Description |
---|---|
static Class<?> |
classForName(String name)
Loads the class by it's name.
|
static InputStream |
getResource(String resourceName)
Loads the resources using the executing thread class loader.
|
static boolean |
isClassPresent(String name)
Returns whether given class is prevent within the class path.
|
public static boolean isClassPresent(String name)
Returns whether given class is prevent within the class path.
name
- the class namepublic static InputStream getResource(String resourceName)
Loads the resources using the executing thread class loader.
resourceName
- the resource nameCopyright © 2012 JBoss by Red Hat. All Rights Reserved.