jdk/src/java.management/share/classes/javax/management/QueryExp.java
changeset 29927 9cc3e111a1d8
parent 25859 3317bb8137f4
equal deleted inserted replaced
29926:2eceae3716d9 29927:9cc3e111a1d8
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    51       *
    51       *
    52       * @param name The name of the MBean on which the QueryExp will be applied.
    52       * @param name The name of the MBean on which the QueryExp will be applied.
    53       *
    53       *
    54       * @return  True if the query was successfully applied to the MBean, false otherwise
    54       * @return  True if the query was successfully applied to the MBean, false otherwise
    55       *
    55       *
    56       * @exception BadStringOperationException
    56       * @throws BadStringOperationException when an invalid string
    57       * @exception BadBinaryOpValueExpException
    57       * operation is passed to a method for constructing a query
    58       * @exception BadAttributeValueExpException
    58       * @throws BadBinaryOpValueExpException when an invalid expression
    59       * @exception InvalidApplicationException
    59       * is passed to a method for constructing a query
       
    60       * @throws BadAttributeValueExpException when an invalid MBean
       
    61       * attribute is passed to a query constructing method
       
    62       * @throws InvalidApplicationException when an invalid apply is attempted
    60       */
    63       */
    61      public boolean apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException,
    64      public boolean apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException,
    62          BadAttributeValueExpException, InvalidApplicationException ;
    65          BadAttributeValueExpException, InvalidApplicationException ;
    63 
    66 
    64      /**
    67      /**