public final class CSecurityManager extends SecurityManager
CResourceBundle
uses this functionality to handle bundle names that need to be loaded by another
class loader than the one that loaded Josef's code. For example when using a resource bundle name from a war file.inCheck
Constructor and Description |
---|
CSecurityManager() |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getCallingClass(String className)
Determines what class called the class with the supplied className.
|
static CSecurityManager |
getInstance()
Gets the single security manager instance.
|
checkAccept, checkAccess, checkAccess, checkAwtEventQueueAccess, checkConnect, checkConnect, checkCreateClassLoader, checkDelete, checkExec, checkExit, checkLink, checkListen, checkMemberAccess, checkMulticast, checkMulticast, checkPackageAccess, checkPackageDefinition, checkPermission, checkPermission, checkPrintJobAccess, checkPropertiesAccess, checkPropertyAccess, checkRead, checkRead, checkRead, checkSecurityAccess, checkSetFactory, checkSystemClipboardAccess, checkTopLevelWindow, checkWrite, checkWrite, classDepth, classLoaderDepth, currentClassLoader, currentLoadedClass, getClassContext, getInCheck, getSecurityContext, getThreadGroup, inClass, inClassLoader
public static CSecurityManager getInstance()
public Class<?> getCallingClass(String className)
className
- Name of the class for which the caller must be returned.Copyright © 2008–2018. All rights reserved.