equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2003, 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 |
41 * |
41 * |
42 * @param attribute The name of the attribute to be retrieved |
42 * @param attribute The name of the attribute to be retrieved |
43 * |
43 * |
44 * @return The value of the attribute retrieved. |
44 * @return The value of the attribute retrieved. |
45 * |
45 * |
46 * @exception AttributeNotFoundException |
46 * @exception AttributeNotFoundException if specified attribute does not exist or cannot be retrieved |
47 * @exception MBeanException Wraps a <CODE>java.lang.Exception</CODE> thrown by the MBean's getter. |
47 * @exception MBeanException Wraps a <CODE>java.lang.Exception</CODE> thrown by the MBean's getter. |
48 * @exception ReflectionException Wraps a <CODE>java.lang.Exception</CODE> thrown while trying to invoke the getter. |
48 * @exception ReflectionException Wraps a <CODE>java.lang.Exception</CODE> thrown while trying to invoke the getter. |
49 * |
49 * |
50 * @see #setAttribute |
50 * @see #setAttribute |
51 */ |
51 */ |
56 * Set the value of a specific attribute of the Dynamic MBean. |
56 * Set the value of a specific attribute of the Dynamic MBean. |
57 * |
57 * |
58 * @param attribute The identification of the attribute to |
58 * @param attribute The identification of the attribute to |
59 * be set and the value it is to be set to. |
59 * be set and the value it is to be set to. |
60 * |
60 * |
61 * @exception AttributeNotFoundException |
61 * @exception AttributeNotFoundException if specified attribute does not exist or cannot be retrieved |
62 * @exception InvalidAttributeValueException |
62 * @exception InvalidAttributeValueException if value specified is not valid for the attribute |
63 * @exception MBeanException Wraps a <CODE>java.lang.Exception</CODE> thrown by the MBean's setter. |
63 * @exception MBeanException Wraps a <CODE>java.lang.Exception</CODE> thrown by the MBean's setter. |
64 * @exception ReflectionException Wraps a <CODE>java.lang.Exception</CODE> thrown while trying to invoke the MBean's setter. |
64 * @exception ReflectionException Wraps a <CODE>java.lang.Exception</CODE> thrown while trying to invoke the MBean's setter. |
65 * |
65 * |
66 * @see #getAttribute |
66 * @see #getAttribute |
67 */ |
67 */ |