|
|||||||||
| Home >> All >> javax >> management >> [ relation overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.management.relation
Class RoleValidator

java.lang.Objectjavax.management.relation.RoleValidator
- class RoleValidator
- extends java.lang.Object
This is a helper class for performing role validation. It is used by both the RelationSupport and RelationService classes.
It is package private and NOT part of the specification.
Revisions:
20020311 Adrian Brock:
- ValidateRole always failed
- Throws wrong exception when not writable
- Version:
- $Revision: 1.3.6.1 $
| Constructor Summary | |
(package private) |
RoleValidator()
|
| Method Summary | |
static int |
checkRole(javax.management.ObjectName relationService,
javax.management.MBeanServer server,
java.lang.String relationTypeName,
Role role,
boolean write)
Check a role for a relation type |
static RoleResult |
checkRoles(javax.management.ObjectName relationService,
javax.management.MBeanServer server,
java.lang.String relationTypeName,
RoleList roleList,
boolean write)
Check the Roles for a relation Type. |
static void |
validateRole(javax.management.ObjectName relationService,
javax.management.MBeanServer server,
java.lang.String relationTypeName,
Role role,
boolean write)
Validate a role for a relation Type. |
static void |
validateRoles(javax.management.ObjectName relationService,
javax.management.MBeanServer server,
java.lang.String relationTypeName,
RoleList roleList,
boolean write)
Validate the Roles for a relation Type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
RoleValidator
RoleValidator()
| Method Detail |
checkRole
public static int checkRole(javax.management.ObjectName relationService, javax.management.MBeanServer server, java.lang.String relationTypeName, Role role, boolean write) throws RelationTypeNotFoundException
- Check a role for a relation type
checkRoles
public static RoleResult checkRoles(javax.management.ObjectName relationService, javax.management.MBeanServer server, java.lang.String relationTypeName, RoleList roleList, boolean write) throws RelationTypeNotFoundException
- Check the Roles for a relation Type.
validateRole
public static void validateRole(javax.management.ObjectName relationService, javax.management.MBeanServer server, java.lang.String relationTypeName, Role role, boolean write) throws InvalidRoleValueException, RelationTypeNotFoundException, RoleNotFoundException
- Validate a role for a relation Type.
validateRoles
public static void validateRoles(javax.management.ObjectName relationService, javax.management.MBeanServer server, java.lang.String relationTypeName, RoleList roleList, boolean write) throws InvalidRoleValueException, RelationTypeNotFoundException, RoleNotFoundException
- Validate the Roles for a relation Type.
|
|||||||||
| Home >> All >> javax >> management >> [ relation overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
javax.management.relation.RoleValidator