1 23 24 118 119 package com.sun.enterprise.admin.meta; 120 121 import java.util.Enumeration ; 122 import java.util.Hashtable ; 123 import java.util.List ; 124 import java.text.CharacterIterator ; 125 import java.text.StringCharacterIterator ; 126 127 import java.lang.reflect.Method ; 128 import java.lang.reflect.Modifier ; 129 130 import com.sun.org.apache.commons.modeler.ManagedBean; 131 import com.sun.org.apache.commons.modeler.FeatureInfo; 132 import com.sun.org.apache.commons.modeler.FieldInfo; 133 import com.sun.org.apache.commons.modeler.AttributeInfo; 134 import com.sun.org.apache.commons.modeler.OperationInfo; 135 import com.sun.org.apache.commons.modeler.ParameterInfo; 136 137 import javax.management.Descriptor ; 139 import javax.management.ObjectName ; 140 import javax.management.AttributeList ; 141 import com.sun.enterprise.config.ConfigBeansFactory; 142 143 146 public interface MBeanMetaConstants 147 { 148 final public static char ATTRIBUTE_NAME_DELIMITER_SYMBOL = '-'; 149 150 final public static String JSR77BEAN_FIELD_NAME = "Jsr77MdlBeanClass"; 152 final public static String CLINAME_FIELD_NAME = "CLIName"; 153 final public static String XPATH_FIELD_NAME = "xpath"; 154 final public static String OBJECTNAME_FIELD_NAME = "ObjectName"; 155 final public static String PRINTNAME_FIELD_NAME = "printName"; 156 157 final public static String GETTER_FIELD_NAME = "getter"; 159 final public static String SETTER_FIELD_NAME = "setter"; 160 161 final public static String CHILD_FIELD_NAME = "child"; 162 final public static String MULTI_FIELD_NAME = "multi"; 163 final public static String NMTYPE_FIELD_NAME = "namingType"; 164 final public static String NMLOCATION_FIELD_NAME = "namingLocation"; 165 final public static String DOMAIN_FIELD_NAME = "domainName"; 166 final public static String EMPTYVALUEALLOWED_FIELD_NAME = "emptyValueAllowed"; 167 final public static String ELEMENTCHANGEEVENT_FIELD_NAME = "elementChangeEvent"; 168 final public static String DYNAMICALLY_RECONFIGURABLE_LIST_FIELD_NAME = "dynamicallyReconfigurable"; 169 170 final public static String WHERE_LOCATED_FIELD_NAME = "bean"; 171 final public static String LOCATED_IN_MBEAN = "MBEAN"; 172 final public static String LOCATED_IN_CONFIGBEAN = "CBEAN"; 173 final public static String LOCATED_IN_RUNTIMEBEAN = "RBEAN"; 174 175 final public static String GET_LISTNAMES_OP_SUFFIX = "NamesList"; 176 177 final public static String CONFIG_BEAN_REF = "ConfigBeanReference"; 178 final public static String JSR77_MODEL_BEAN_REF = "Jsr77ModelBeanReference"; 179 180 final static int EXPOSE_GETTERS = 0x0001; 182 final static int EXPOSE_SETTERS = 0x0002; 183 final static int EXPOSE_CREATECHILD = 0x0004; 184 final static int EXPOSE_GETCHILD = 0x0008; 185 final static int EXPOSE_DESTROYCHILD = 0x0010; 186 187 final static int EXPOSE_ALL = 0xFFFF; 188 final static int EXPOSE_RUNTIME_WITH_MODEL = EXPOSE_GETTERS; 189 final static int EXPOSE_RUNTIME_WITHOUT_MODEL = (EXPOSE_GETTERS+EXPOSE_GETCHILD); 190 } 191 | Popular Tags |