Please note that this translation of the specification is the result of a java.net community project ( https://jdk5-api-pt-br.dev.java.net/ ). The official version of the specification is the US English language version which can be found at http://java.sun.com/j2se/1.5.0/docs/api/. In case of disputes, the authoritative version of the specification is the original, English document.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.management.relation.RoleStatus
public class RoleStatus
This class describes the various problems which can be encountered when accessing a role.
| Field Summary | |
|---|---|
static int |
LESS_THAN_MIN_ROLE_DEGREE
Problem type when trying to set a role value with less ObjectNames than the minimum expected cardinality. |
static int |
MORE_THAN_MAX_ROLE_DEGREE
Problem type when trying to set a role value with more ObjectNames than the maximum expected cardinality. |
static int |
NO_ROLE_WITH_NAME
Problem type when trying to access an unknown role. |
static int |
REF_MBEAN_NOT_REGISTERED
Problem type when trying to set a role value including the ObjectName of a MBean not registered in the MBean Server. |
static int |
REF_MBEAN_OF_INCORRECT_CLASS
Problem type when trying to set a role value including the ObjectName of a MBean not of the class expected for that role. |
static int |
ROLE_NOT_READABLE
Problem type when trying to read a non-readable attribute. |
static int |
ROLE_NOT_WRITABLE
Problem type when trying to update a non-writable attribute. |
| Constructor Summary | |
|---|---|
RoleStatus()
|
|
| Method Summary | |
|---|---|
static boolean |
isRoleStatus(int theRoleStatus)
Returns true if given value corresponds to a known role status, false otherwise. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NO_ROLE_WITH_NAME
public static final int ROLE_NOT_READABLE
public static final int ROLE_NOT_WRITABLE
public static final int LESS_THAN_MIN_ROLE_DEGREE
public static final int MORE_THAN_MAX_ROLE_DEGREE
public static final int REF_MBEAN_OF_INCORRECT_CLASS
public static final int REF_MBEAN_NOT_REGISTERED
| Constructor Detail |
|---|
public RoleStatus()
| Method Detail |
|---|
public static boolean isRoleStatus(int theRoleStatus)
theRoleStatus - a status code.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Copyright 2006 Sun Microsystems, Inc. Todos os direitos reservados. O uso está sujeito aos termos da licensa.