javax.management.relation

Class RoleStatus


  • public class RoleStatus
    extends Object
    This class describes the various problems which can be encountered when accessing a role.
    Since:
    1.5
    • Field Detail

      • NO_ROLE_WITH_NAME

        public static final int NO_ROLE_WITH_NAME
        Problem type when trying to access an unknown role.
        See Also:
        Constant Field Values
      • ROLE_NOT_READABLE

        public static final int ROLE_NOT_READABLE
        Problem type when trying to read a non-readable attribute.
        See Also:
        Constant Field Values
      • ROLE_NOT_WRITABLE

        public static final int ROLE_NOT_WRITABLE
        Problem type when trying to update a non-writable attribute.
        See Also:
        Constant Field Values
      • LESS_THAN_MIN_ROLE_DEGREE

        public static final int LESS_THAN_MIN_ROLE_DEGREE
        Problem type when trying to set a role value with less ObjectNames than the minimum expected cardinality.
        See Also:
        Constant Field Values
      • MORE_THAN_MAX_ROLE_DEGREE

        public static final int MORE_THAN_MAX_ROLE_DEGREE
        Problem type when trying to set a role value with more ObjectNames than the maximum expected cardinality.
        See Also:
        Constant Field Values
      • REF_MBEAN_OF_INCORRECT_CLASS

        public static final 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.
        See Also:
        Constant Field Values
      • REF_MBEAN_NOT_REGISTERED

        public static final 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.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RoleStatus

        public RoleStatus()
    • Method Detail

      • isRoleStatus

        public static boolean isRoleStatus(int status)
        Returns true if given value corresponds to a known role status, false otherwise.
        Parameters:
        status - a status code.
        Returns:
        true if this value is a known role status.

Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/management/relation/rolestatus.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : https://docs.oracle.com

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut