/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/base/ |
H A D | BulkAccess.java | 75 For objectNames[ i ], results[ i ] will be the resulting MBeanInfo[], 78 @param objectNames 82 public Object[] bulkGetMBeanInfo(ObjectName[] objectNames); argument 86 For objectNames[ i ], results[ i ] will be the resulting MBeanAttributeInfo[], 89 @param objectNames 93 public Object[] bulkGetMBeanAttributeInfo(ObjectName[] objectNames); argument 97 For objectNames[ i ], results[ i ] will be the resulting MBeanOperationInfo[], 100 @param objectNames 104 public Object[] bulkGetMBeanOperationInfo(ObjectName[] objectNames); argument 109 For objectNames[ 117 bulkGetAttributeNames(ObjectName[] objectNames) argument 129 bulkGetAttribute(final ObjectName[] objectNames, final String attributeName) argument 142 bulkSetAttribute(final ObjectName[] objectNames, final Attribute attr) argument 153 bulkGetAttributes(final ObjectName[] objectNames, final String[] attributeNames) argument 172 bulkInvoke(final ObjectName[] objectNames, final String operationName, final Object[] args, final String[] types) argument [all...] |
/glassfish-3.1.2/common/amx-core-impl/src/main/java/org/glassfish/admin/amx/impl/mbean/ |
H A D | BulkAccessImpl.java | 59 public Object[] bulkGetMBeanInfo(final ObjectName[] objectNames) { argument 60 final Object[] infos = new Object[objectNames.length]; 64 infos[i] = getMBeanServer().getMBeanInfo(objectNames[i]); 72 public Object[] bulkGetMBeanAttributeInfo(final ObjectName[] objectNames) { argument 73 final Object[] results = new Object[objectNames.length]; 74 final Object[] mbeanInfos = bulkGetMBeanInfo(objectNames); 86 public Object[] bulkGetAttributeNames(final ObjectName[] objectNames) { argument 87 final Object[] results = new Object[objectNames.length]; 88 final Object[] mbeanInfos = bulkGetMBeanInfo(objectNames); 102 public Object[] bulkGetMBeanOperationInfo(final ObjectName[] objectNames) { argument 118 bulkGetAttribute( final ObjectName[] objectNames, final String attributeName) argument 133 bulkSetAttribute( final ObjectName[] objectNames, final Attribute attr) argument 149 bulkGetAttributes( final ObjectName[] objectNames, final String[] attributeNames) argument 171 bulkSetAttributes( final ObjectName[] objectNames, final AttributeList attrs) argument 189 bulkInvoke( final ObjectName[] objectNames, final String operationName, final Object[] args, final String[] types) argument [all...] |
H A D | DomainRootImpl.java | 173 final ObjectNameBuilder objectNames = 183 childObjectName = objectNames.buildChildObjectName(Pathnames.class); 187 childObjectName = objectNames.buildChildObjectName(Query.class); 191 childObjectName = objectNames.buildChildObjectName(Tools.class); 195 childObjectName = objectNames.buildChildObjectName(BulkAccess.class); 199 childObjectName = objectNames.buildChildObjectName(Sample.class); 204 childObjectName = objectNames.buildChildObjectName(Ext.class); 209 childObjectName = objectNames.buildChildObjectName(MonitoringRoot.class);
|
H A D | ToolsImpl.java | 87 final ObjectName[] objectNames = paths.listObjectNames(parentPath, recursive); 88 final Set<ObjectName> s = SetUtil.newSet(objectNames); 115 public String info(final Collection<ObjectName> objectNames) { argument 120 if (objectNames.size() != 0) { 122 for (final ObjectName objectName : objectNames) { 145 buf.append("Matched " + objectNames.size() + " mbean(s)."); 185 final Set<ObjectName> objectNames = getMBeanServer().queryNames(pattern, null); 187 return info(objectNames);
|
H A D | PathnamesImpl.java | 177 final ObjectName[] objectNames = new ObjectName[paths.length]; 182 objectNames[i] = resolvePath(path); 184 objectNames[i] = null; 188 return objectNames; 200 final List<ObjectName> objectNames = new ArrayList<ObjectName>(); 205 objectNames.add(cur); 209 final List<ObjectName> reversed = ListUtil.reverse(objectNames); 285 final List<ObjectName> objectNames = Util.toObjectNameList(list); 286 return CollectionUtil.toArray(objectNames, ObjectName.class);
|
H A D | MonitoringRootImpl.java | 74 final ObjectNameBuilder objectNames = new ObjectNameBuilder(server, self); 81 // childObjectName = objectNames.buildChildObjectName(ServerMon.class, AMXGlassfish.DEFAULT.dasName()); 82 childObjectName = objectNames.buildChildObjectName(ServerMon.class, System.getProperty("com.sun.aas.instanceName"));
|
H A D | ComplianceMonitor.java | 238 final ObjectName[] objectNames = new ObjectName[toValidate.size()]; 239 toValidate.toArray(objectNames); 240 final AMXValidator.ValidationResult result = validator.validate(objectNames);
|
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/base/ |
H A D | BulkAccessTest.java | 83 final ObjectName[] objectNames = getTestUtil().getAllAMXArray(); 87 getBulkAccess().bulkGetMBeanAttributeInfo(objectNames); 95 final MBeanInfo info = conn.getMBeanInfo(objectNames[i]); 98 printElapsed("testBulkGetMBeanAttributeInfos", objectNames.length, start); 106 final ObjectName[] objectNames = getTestUtil().getAllAMXArray(); 109 getBulkAccess().bulkGetMBeanOperationInfo(objectNames); 117 final MBeanInfo info = conn.getMBeanInfo(objectNames[i]); 120 printElapsed("testBulkGetMBeanOperationInfos", objectNames.length, start); 128 final ObjectName[] objectNames = getTestUtil().getAllAMXArray(); 131 getBulkAccess().bulkGetAttributeNames(objectNames); [all...] |
H A D | GenericTest.java | 612 validate(final ObjectName[] objectNames) argument 629 for (int i = 0; i < objectNames.length; ++i) { 630 final ObjectName objectName = objectNames[i];
|
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/core/ |
H A D | Util.java | 235 final List<ObjectName> objectNames = new ArrayList<ObjectName>(); 237 objectNames.add(next.objectName()); 239 return (Collections.checkedList(objectNames, ObjectName.class)); 259 final ObjectName[] objectNames = new ObjectName[amx.length]; 260 for (int i = 0; i < objectNames.length; ++i) { 261 objectNames[i] = amx[i] == null ? null : amx[i].objectName(); 264 return (objectNames); 268 final ObjectName[] objectNames = new ObjectName[amxs.size()]; 271 objectNames[i] = amx.objectName(); 275 return (objectNames); 303 createObjectNameMap(final Set<ObjectName> objectNames) argument 406 filterByType(final ObjectName[] objectNames, final String type) argument [all...] |
/glassfish-3.1.2/common/amx-core-impl/src/test/java/org/glassfish/admin/amx/test/ |
H A D | ObjectNamesTest.java | 68 final ObjectNameBuilder objectNames = get();
|
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/ |
H A D | TestRunner.java | 137 final ObjectName[] objectNames) 140 Arrays.sort(objectNames, ObjectNameComparator.INSTANCE); 143 for (int i = 0; i < objectNames.length; ++i) { 144 final ObjectName objectName = objectNames[i]; 199 final ObjectName[] objectNames = new ObjectName[objectNameSet.size()]; 200 objectNameSet.toArray(objectNames); 202 final long elapsed = testGetMBeanInfoSpeed(conn, objectNames); 204 println("Time to getMBeanInfo on " + domain + ":" + props + " (" + objectNames.length + " MBeans)" + 135 testGetMBeanInfoSpeed( final MBeanServerConnection conn, final ObjectName[] objectNames) argument
|
H A D | TestUtil.java | 144 newSortedSet(final ObjectName[] objectNames) { argument 147 for (final ObjectName objectName : objectNames) { 156 final ObjectName[] objectNames = new ObjectName[c.size()]; 157 c.toArray(objectNames); 159 return newSortedSet(objectNames); 216 final ObjectName[] objectNames = new ObjectName[s.size()]; 217 s.toArray(objectNames); 219 return (objectNames);
|
H A D | AMXTestBase.java | 476 final Collection<ObjectName> objectNames, 486 for (final ObjectName objectName : objectNames) { 520 final Collection<ObjectName> objectNames, 523 final boolean success = testOnObjectNames(objectNames, 475 testOnObjectNames( final Collection<ObjectName> objectNames, final Method method) argument 519 testAll( final Collection<ObjectName> objectNames, final String methodName) argument
|
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/core/proxy/ |
H A D | ProxyFactory.java | 595 toProxy( final ObjectName[] objectNames ) 597 final AMXProxy[] result = new AMXProxy[objectNames.length]; 598 for( int i = 0; i < objectNames.length; ++i ) 600 result[i] = getProxy(objectNames[i]); 611 toProxySet( final Set<ObjectName> objectNames ) 615 for( final ObjectName objectName : objectNames ) 641 toProxySet( final ObjectName[] objectNames, final Class<? extends AMXProxy> intf) argument 644 for( final ObjectName objectName : objectNames ) 662 toProxyList( final Collection<ObjectName> objectNames ) 666 for( final ObjectName objectName : objectNames ) 725 toProxyMap( final ObjectName[] objectNames, final Class<? extends AMXProxy> intf) argument 745 toProxyList( final ObjectName[] objectNames, final Class<? extends AMXProxy> intf) argument [all...] |
H A D | AMXProxyHandler.java | 667 final List<ObjectName> objectNames = new ArrayList<ObjectName>(); 676 objectNames.add((ObjectName)item); 678 return objectNames; 705 final List<ObjectName> objectNames = tentativeObjectNameList((Collection)itemsIn); 706 if ( objectNames != null ) 708 final ObjectName[] objectNamesA = new ObjectName[objectNames.size()]; 709 objectNames.toArray(objectNamesA); 710 if ( objectNames != null ) 999 ObjectName[] objectNames = null; 1002 objectNames 1024 childrenSet(final ObjectName[] objectNames) argument 1029 childrenTypes(final ObjectName[] objectNames) argument [all...] |
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/jmx/ |
H A D | NotificationListenerBase.java | 298 final Set<ObjectName> objectNames = new HashSet<ObjectName>(); 302 objectNames.addAll(mListenees); 305 return (objectNames);
|
H A D | JMXUtil.java | 319 final ObjectName[] objectNames = new ObjectName[objectNameSet.size()]; 320 objectNameSet.toArray(objectNames); 322 return (objectNames); 327 @param objectNames 330 public static String[] getKeyProperty(String key, ObjectName[] objectNames) argument 332 final String[] values = new String[objectNames.length]; 334 for (int i = 0; i < objectNames.length; ++i) 336 values[i] = objectNames[i].getKeyProperty(key); 400 final ObjectName[] objectNames = 403 return (getKeyProperty(key, objectNames)); 458 findByProperty( final Set<ObjectName> objectNames, final String propertyKey, final String propertyValue) argument [all...] |
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/ |
H A D | StringUtil.java | 533 public static List<String> objectNamesToStrings(final Collection<ObjectName> objectNames) argument 538 for (final ObjectName objectName : objectNames) 549 public static String[] objectNamesToStrings(final ObjectName[] objectNames) argument 551 final String[] strings = new String[objectNames.length]; 555 strings[i] = "" + objectNames[i];
|
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/config/ |
H A D | SystemPropertiesAccessTest.java | 62 final Set<ObjectName> objectNames = 66 return (objectNames);
|
/glassfish-3.1.2/admingui/jms-plugin/src/main/java/org/glassfish/admingui/plugin/jms/ |
H A D | JmsHandlers.java | 216 ObjectName[] objectNames = null; 222 objectNames = (ObjectName[]) JMXUtil.invoke(OBJECT_DEST_MGR, OP_LIST_DESTINATIONS); 224 if (objectNames == null) { 231 for (int i = 0; i < objectNames.length; i++) { 234 oneRow.put("name", objectNames[i].getKeyProperty(PROP_NAME).replaceAll("\"", "")); 235 oneRow.put("type", "t".equals(objectNames[i].getKeyProperty(PROP_DEST_TYPE)) ? "topic" : "queue"); 236 oneRow.put("selected", (hasOrig) ? isSelected(objectNames[i].getKeyProperty(PROP_NAME), selectedList) : false);
|
/glassfish-3.1.2/common/amx-j2ee-impl/src/main/java/org/glassfish/admin/amx/impl/j2ee/loader/ |
H A D | AMXJ2EEStartupService.java | 239 final ObjectNameBuilder objectNames = new ObjectNameBuilder(mMBeanServer, domainRoot); 249 ObjectName objectName = objectNames.buildChildObjectName(J2EEDomain.class);
|
/glassfish-3.1.2/common/mbeanserver/src/main/java/org/glassfish/admin/mbeanserver/ |
H A D | JMXStartupService.java | 347 final Set<ObjectName> objectNames = getJMXConnectorServers(server); 350 for (final ObjectName objectName : objectNames) {
|
/glassfish-3.1.2/common/amx-config-impl/src/main/java/org/glassfish/admin/amx/impl/config/ |
H A D | AMXConfigImpl.java | 654 final ObjectName[] objectNames = createChildren( children, null); 656 return objectNames[0]; 1015 final ObjectName[] objectNames = new ObjectName[items.length]; 1018 objectNames[i] = getObjectName( (ConfigBeanProxy)items[i] ); 1020 out = objectNames;
|
/glassfish-3.1.2/common/amx-ext-impl/src/main/java/org/glassfish/admin/amx/impl/ext/ |
H A D | RuntimeRootImpl.java | 140 final ObjectNameBuilder objectNames = new ObjectNameBuilder( server, self ); 147 childObjectName = objectNames.buildChildObjectName( ServerRuntime.class, AMXGlassfish.DEFAULT.dasName() );
|