/openjdk7/jdk/test/java/lang/management/CompositeData/ |
H A D | OpenTypeConverter.java | 41 private static final WeakHashMap<Class,OpenType> convertedTypes = 42 new WeakHashMap<Class,OpenType>(); 43 private static final OpenType[] simpleTypes = { 51 final OpenType t = simpleTypes[i]; 78 private static class InProgress extends OpenType { 102 private static final OpenType inProgress; 104 OpenType t; 114 // Convert a class to an OpenType 115 public static synchronized OpenType toOpenType(Class c) 118 OpenType [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jmx/mbeanserver/ |
H A D | MXBeanMapping.java | 31 import javax.management.openmbean.OpenType; 119 private final OpenType<?> openType; 132 protected MXBeanMapping(Type javaType, OpenType<?> openType) { 152 public final OpenType<?> getOpenType() { 161 * @see OpenType#getClassName 167 private static Class<?> makeOpenClass(Type javaType, OpenType<?> openType) {
|
H A D | ConvertingMethod.java | 35 import javax.management.openmbean.OpenType; 70 OpenType<?> getOpenReturnType() { 74 OpenType<?>[] getOpenParameterTypes() { 75 final OpenType<?>[] types = new OpenType<?>[paramMappings.length];
|
H A D | MXBeanIntrospector.java | 47 import javax.management.openmbean.OpenType; 125 // OpenType.isValue(null) will return false. It can always be 153 final OpenType<?> openType; 208 final OpenType<?> returnType = operation.getOpenReturnType(); 210 final OpenType<?>[] paramTypes = operation.getOpenParameterTypes(); 220 final OpenType<?> openType = paramTypes[i]; 250 * represented as OpenType then we return an OpenMBeanOperationInfo. 254 * we would get with an OpenMBean*Info. The OpenType is available 297 private static Descriptor typeDescriptor(OpenType<?> openType,
|
/openjdk7/jdk/src/share/classes/javax/management/openmbean/ |
H A D | OpenMBeanOperationInfo.java | 125 public OpenType<?> getReturnOpenType() ; // open MBean specific method
|
H A D | OpenMBeanParameterInfoSupport.java | 61 private OpenType<?> openType; 109 OpenType<?> openType) { 144 OpenType<?> openType, 206 OpenType<T> openType, 260 OpenType<T> openType, 321 OpenType<T> openType, 332 OpenType<T> openType, 369 OpenType<Object> xopenType = cast(openType); 385 public OpenType<?> getOpenType() {
|
H A D | OpenMBeanParameterInfo.java | 84 public OpenType<?> getOpenType() ;
|
H A D | CompositeType.java | 48 public class CompositeType extends OpenType<CompositeData> { 61 private TreeMap<String,OpenType<?>> nameToType; 82 * (ie the class name returned by the {@link OpenType#getClassName() getClassName} method) 122 OpenType<?>[] itemTypes) throws OpenDataException { 148 nameToType = new TreeMap<String,OpenType<?>>(); 224 public OpenType<?> getType(String itemName) { 229 return (OpenType<?>) nameToType.get(itemName); 288 * <p>In every other case, an {@code OpenType} is assignable from 289 * another {@code OpenType} only if they are equal.</p> 332 boolean isAssignableFrom(OpenType< [all...] |
H A D | OpenMBeanAttributeInfoSupport.java | 68 private OpenType<?> openType; 125 OpenType<?> openType, 172 OpenType<?> openType, 246 OpenType<T> openType, 315 OpenType<T> openType, 387 OpenType<T> openType, 401 OpenType<T> openType, 442 OpenType<Object> xopenType = cast(openType); 456 OpenType<?> openType = info.getOpenType(); 458 throw new IllegalArgumentException("OpenType canno [all...] |
H A D | OpenType.java | 42 * The <code>OpenType</code> class is the parent abstract class of all classes which describe the actual <i>open type</i> 56 * SimpleType<Integer>} which is a subclass of {@code OpenType<Integer>}, 63 public abstract class OpenType<T> implements Serializable { class in inherits:Serializable 146 * Cached Descriptor for this OpenType, constructed on demand. 153 * Constructs an <code>OpenType</code> instance (actually a subclass instance as <code>OpenType</code> is abstract), 177 protected OpenType(String className, method in class:OpenType 188 OpenType(String className, String typeName, String description, method in class:OpenType 214 OpenType.class); 277 /* Package-private access to a Descriptor containing this OpenType [all...] |
H A D | OpenMBeanOperationInfoSupport.java | 58 private OpenType<?> returnOpenType; 102 OpenType<?> returnOpenType, 148 OpenType<?> returnOpenType, 221 // OpenType<?> returnOpenType and method.getReturnType(). 229 public OpenType<?> getReturnOpenType() {
|
H A D | ArrayType.java | 100 element type, with class ArrayType<E> extends OpenType<E[]>. However, 102 public OpenType<E> getElementOpenType() 107 return SimpleType.INTEGER, which is an OpenType<Integer>. 110 an Open Type (RFE 5045358). We would want this to be an OpenType<int[]> 114 public class ArrayType<T> extends OpenType<T> { 129 private OpenType<?> elementType; 209 * @return the OpenType corresponding to the given primitive type name 228 * When invoked on an <tt>ArrayType</tt> instance, the {@link OpenType#getClassName() getClassName} method 288 OpenType<?> elementType) throws OpenDataException { 290 // We can't use the package-private OpenType constructo [all...] |
/openjdk7/jdk/test/javax/management/openmbean/ |
H A D | IsValueTest.java | 41 new OpenType[] {SimpleType.INTEGER, SimpleType.STRING}); 46 new OpenType[] {SimpleType.INTEGER, SimpleType.INTEGER, SimpleType.STRING}); 68 new OpenType[] {ctOld}); 84 new OpenType[] {ctNew}); 116 new OpenType[] {ttOld});
|
H A D | EqualsTest.java | 58 new OpenType[] {SimpleType.BOOLEAN,SimpleType.STRING}); 65 new OpenType[] {SimpleType.BOOLEAN, SimpleType.STRING}); 98 new OpenType[] {new ArrayType(1, SimpleType.STRING)}); 133 new OpenType[] {new ArrayType(2, SimpleType.OBJECTNAME)}); 177 new OpenType[] { 187 new OpenType[] { 205 new OpenType[] { 242 new OpenType[] {
|
H A D | CompositeDataStringTest.java | 35 import javax.management.openmbean.OpenType; 44 new OpenType<?>[] {SimpleType.STRING, SimpleType.INTEGER}); 49 new OpenType<?>[] {
|
H A D | OpenTypeDescriptorTest.java | 89 OpenType descriptorType = (OpenType) 91 OpenType openType; 97 throw new Exception("Can't get OpenType for " + x.getClass()); 101 failure("OpenType is " + openType + ", descriptor says " + 116 OpenType descriptorType = (OpenType) 118 OpenType openType; 124 throw new Exception("Can't get OpenType for " + key +": "+ 129 failure("OpenType fo [all...] |
H A D | NullConstructorParamsTest.java | 57 new OpenType[] {SimpleType.BOOLEAN,SimpleType.STRING}); 82 new OpenType[] {SimpleType.BOOLEAN, SimpleType.STRING}); 129 new OpenType[] {SimpleType.BOOLEAN, SimpleType.STRING});
|
H A D | BadConstraintTest.java | 61 OpenType<?> openType = (OpenType<?>) test[0]; 86 throw new Exception("Test element should have one OpenType: " + 90 OpenType<?> openType = (OpenType<?>) test[0][0]; 104 private static void genericTest(OpenType<?> openType, 115 String.class, String.class, OpenType.class, 122 String.class, String.class, OpenType.class, 137 String.class, String.class, OpenType.class, 144 String.class, String.class, OpenType [all...] |
/openjdk7/jdk/src/share/classes/sun/management/ |
H A D | GarbageCollectionNotifInfoCompositeData.java | 35 import javax.management.openmbean.OpenType; 85 OpenType[] gcNotifInfoItemTypes = new OpenType[] { 198 OpenType[] baseGcNotifInfoItemTypes = new OpenType[] {
|
H A D | LazyCompositeData.java | 32 import javax.management.openmbean.OpenType; 164 OpenType ot1 = type1.getType(item); 165 OpenType ot2 = type2.getType(item);
|
H A D | GcInfoBuilder.java | 29 import javax.management.openmbean.OpenType; 101 OpenType[] gcInfoItemTypes = GcInfoCompositeData.getBaseGcInfoItemTypes(); 107 OpenType[] allItemTypes = new OpenType[itemCount];
|
H A D | MappedMXBeanType.java | 68 OpenType openType = inProgress; 109 static synchronized MappedMXBeanType newBasicType(Class c, OpenType ot) 129 // Convert a class to an OpenType 130 public static synchronized OpenType toOpenType(Type t) 155 OpenType getOpenType() { 196 BasicMXBeanType(Class c, OpenType openType) { 266 // Mapped open type - Array with element of OpenType for E 411 // Mapped open type - Array with element of OpenType for E 517 final OpenType[] mapItemTypes = new OpenType[] { [all...] |
H A D | GcInfoCompositeData.java | 42 import javax.management.openmbean.OpenType; 196 private static OpenType[] baseGcInfoItemTypes = null; 197 static synchronized OpenType[] getBaseGcInfoItemTypes() { 199 OpenType<?> memoryUsageOpenType = memoryUsageMapType.getOpenType(); 200 baseGcInfoItemTypes = new OpenType[] {
|
/openjdk7/jdk/src/share/classes/javax/management/ |
H A D | Descriptor.java | 44 import javax.management.openmbean.OpenType; 242 * <tr id="openType"><td><i>openType</i><td>{@link OpenType}</td>
|
/openjdk7/jdk/test/javax/management/mxbean/ |
H A D | TigerMXBean.java | 38 import javax.management.openmbean.OpenType; 73 new OpenType[] {SimpleType.DOUBLE, SimpleType.DOUBLE}); 112 new OpenType[] {SimpleType.STRING, StringListType}); 129 new OpenType[] {SimpleType.STRING, SimpleType.STRING}); 155 new OpenType[] {PointType, PointType});
|