com.sun.jaw.reference.agent.cmf
Class FrameworkPermission

java.lang.Object
  |
  +--java.security.Permission
        |
        +--java.security.BasicPermission
              |
              +--com.sun.jaw.reference.agent.cmf.FrameworkPermission

public class FrameworkPermission
extends java.security.BasicPermission

This class is for framework permissions. A FrameworkPermission contains a name (also referred to as a "target name") but no actions list; you either have the named permission or you don't.

The target name is the name of the framework permission.

The following table lists all the possible FrameworkPermission target names and for each provides the list of methods to which access is granted by the permission.

Target Name Grants Access to Methods
accessCoreMethods
getMoRepSrvIf
getFilterSrvIf
setFilterSrvIf
getClassLoader
setClassLoader
getRelationSrvIf
setRelationSrvIf
getMetaDataSrvIf
setMetaDataSrvIf
getThreadAllocatorSrvIf
setThreadAllocatorSrvIf
accessObjects
contains
getObject
retrieveObject
registerObjects
newObj
addObject
addDBObject
newObject
newDBObject
unregisterObjects
delObject
fastDelObject
accessRelationMethods
addRelation
newRelation
getRelations

See Also:
Serialized Form

Constructor Summary
FrameworkPermission(java.lang.String name)
          Creates a new FrameworkPermission with the specified name.
FrameworkPermission(java.lang.String name, java.lang.String actions)
          Creates a new FrameworkPermission object with the specified name.
 
Methods inherited from class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollection
 
Methods inherited from class java.security.Permission
checkGuard, getName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FrameworkPermission

public FrameworkPermission(java.lang.String name)
Creates a new FrameworkPermission with the specified name. The name is the symbolic name of the FrameworkPermission, such as "accessObjects", "registerObjects", "unregisterObjects", etc.
Parameters:
name - the name of the FrameworkPermission.

FrameworkPermission

public FrameworkPermission(java.lang.String name,
                           java.lang.String actions)
Creates a new FrameworkPermission object with the specified name. The name is the symbolic name of the FrameworkPermission, and the actions String is currently unused and should be null. This constructor exists for use by the Policy object to instantiate new Permission objects.
Parameters:
name - the name of the FrameworkPermission.
actions - should be null.