KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > appserv > management > base > AMXAttributes


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23 package com.sun.appserv.management.base;
24
25
26 /**
27     Attributes available within the MBean every AMX references.
28     These Attributes names are needed when accessing MBeans directly
29     via {@link StdAttributesAccess#getAttribute} or
30     {@link StdAttributesAccess#getAttributes}.
31  */

32 public final class AMXAttributes
33 {
34     /**
35         Attribute of type ObjectName; the ObjectName of this MBean.
36         @see Extra#getObjectName
37      */

38     public static final String JavaDoc ATTR_OBJECT_NAME = "ObjectName";
39     
40     /**
41         Attribute of type String which denotes the classname of the proxy
42         (AMX) for this MBean.
43         @see Extra#getInterfaceName
44      */

45     public static final String JavaDoc ATTR_INTERFACE_NAME = "InterfaceName";
46     
47     /**
48         Attribute of type ObjectName.
49         @see Extra#getInterfaceName
50      */

51     public static final String JavaDoc ATTR_CONTAINER_OBJECT_NAME = "ContainerObjectName";
52     
53     /**
54         Attribute of type boolean.
55         @see Extra#getMBeanInfoIsInvariant
56      */

57     public static final String JavaDoc ATTR_MBEAN_INFO_IS_INVARIANT= "MBeanInfoIsInvariant";
58     
59     /**
60         Attribute of type String.
61         @see AMX#getFullType
62      */

63     public static final String JavaDoc ATTR_FULL_TYPE = "FullType";
64
65     /**
66         Attribute returned by getGroup().
67         @see AMX#getGroup
68      */

69     public static final String JavaDoc ATTR_GROUP = "Group";
70
71     /**
72         Attribute returned by getName().
73         @see AMX#getName
74      */

75     public static final String JavaDoc ATTR_NAME = "Name";
76     
77     /**
78         Attribute of type String[]
79         @see Extra#getAttributeNames
80      */

81     public static final String JavaDoc ATTR_ATTRIBUTE_NAMES = "AttributeNames";
82 }
83
Popular Tags