67 return new CompositeDataSupport(memoryNotifInfoCompositeType, |
67 return new CompositeDataSupport(memoryNotifInfoCompositeType, |
68 memoryNotifInfoItemNames, |
68 memoryNotifInfoItemNames, |
69 memoryNotifInfoItemValues); |
69 memoryNotifInfoItemValues); |
70 } catch (OpenDataException e) { |
70 } catch (OpenDataException e) { |
71 // Should never reach here |
71 // Should never reach here |
72 throw Util.newInternalError(e); |
72 throw new AssertionError(e); |
73 } |
73 } |
74 } |
74 } |
75 |
75 |
76 private static final CompositeType memoryNotifInfoCompositeType; |
76 private static final CompositeType memoryNotifInfoCompositeType; |
77 static { |
77 static { |
78 try { |
78 try { |
79 memoryNotifInfoCompositeType = (CompositeType) |
79 memoryNotifInfoCompositeType = (CompositeType) |
80 MappedMXBeanType.toOpenType(MemoryNotificationInfo.class); |
80 MappedMXBeanType.toOpenType(MemoryNotificationInfo.class); |
81 } catch (OpenDataException e) { |
81 } catch (OpenDataException e) { |
82 // Should never reach here |
82 // Should never reach here |
83 throw Util.newInternalError(e); |
83 throw new AssertionError(e); |
84 } |
84 } |
85 } |
85 } |
86 |
86 |
87 private static final String POOL_NAME = "poolName"; |
87 private static final String POOL_NAME = "poolName"; |
88 private static final String USAGE = "usage"; |
88 private static final String USAGE = "usage"; |