Searched defs:objectName (Results 1 - 25 of 34) sorted by relevance

12

/glassfish-3.1.2/common/amx-core-impl/src/main/java/org/glassfish/admin/amx/impl/util/
H A DImplUtil.java77 //debug( "ImplUtil.unregisterOneMBean: unregistering hierarchy under: " + top.objectName() );
89 unregisterOneMBean(mbeanServer, top.objectName());
93 public static void unregisterAMXMBeans(final MBeanServer mbs, final ObjectName objectName) { argument
94 unregisterAMXMBeans(ProxyFactory.getInstance(mbs).getProxy(objectName, AMXProxy.class));
100 public static boolean unregisterOneMBean(final MBeanServer mbeanServer, final ObjectName objectName) { argument
102 //getLogger().fine( "UNREGISTER MBEAN: " + objectName );
103 //debug( "ImplUtil.unregisterOneMBean: unregistering: " + objectName );
105 mbeanServer.unregisterMBean(objectName);
H A DUnregistrationListener.java58 public UnregistrationListener(final MBeanServerConnection conn, final ObjectName objectName) { argument
60 mObjectName = objectName;
/glassfish-3.1.2/webservices/jsr109-impl/src/main/java/org/glassfish/webservices/
H A DWebServicesContainer.java86 public void mbeanRegistered(javax.management.ObjectName objectName, org.glassfish.external.amx.MBeanListener listener) { argument
/glassfish-3.1.2/admingui/jms-plugin/src/main/java/org/glassfish/admingui/plugin/jms/
H A DJMXUtil.java68 public static Object invoke(String objectName, String operationName) { argument
69 return invoke(objectName, operationName, new Object[]{}, new String[]{});
72 public static Object invoke(String objectName, String operationName, Object[] params, String[] signature) { argument
74 Object result = invoke(new ObjectName(objectName), operationName, params, signature);
77 System.out.println("MalformedObjectNameException: " + objectName);
82 public static Object invoke(ObjectName objectName, String operationName, Object[] params, String[] signature) { argument
85 Object result = getMBeanServer().invoke(objectName, operationName, params, signature);
94 public static Object getAttribute(String objectName, String attributeName) { argument
96 Object result = getAttribute(new ObjectName(objectName), attributeName);
104 public static Object getAttribute(ObjectName objectName, Strin argument
112 setAttribute(String objectName, Attribute attributeName) argument
121 setAttribute(ObjectName objectName, Attribute attributeName) argument
144 isValidMBean(String objectName) argument
[all...]
/glassfish-3.1.2/common/amx-config/src/main/java/org/glassfish/admin/amx/intf/config/
H A DConfigTools.java89 public void clearProperties(final ObjectName objectName); argument
118 public void clearSystemProperties(final ObjectName objectName); argument
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/jmx/
H A DMBeanRegistrationListener.java100 protected abstract void mbeanRegistered(final ObjectName objectName); argument
102 protected abstract void mbeanUnregistered(final ObjectName objectName); argument
112 final ObjectName objectName = notif.getMBeanName();
116 JMXUtil.matchesPattern(mDefaultDomain, mRegUnregFilter, objectName);
122 mbeanRegistered(objectName);
126 mbeanUnregistered(objectName);
H A DNotificationListenerBase.java143 protected synchronized void listenToMBean(final ObjectName objectName) argument
146 if (!mListenees.contains(objectName))
148 mListenees.add(objectName);
150 objectName, this, mFilter, null);
187 for (final ObjectName objectName : s)
189 listenToMBean(objectName);
199 public final NotificationFilter getNotificationFilter(final ObjectName objectName) argument
204 protected synchronized void listenToIfMatch(final ObjectName objectName) argument
207 if (!mListenees.contains(objectName))
211 if (JMXUtil.matchesPattern(defaultDomain, mPattern, objectName))
[all...]
H A DMBeanProxyHandler.java124 @param objectName the ObjectName of the proxied MBean
129 final ObjectName objectName,
133 super(conn, objectName);
136 //debugMethod( "MBeanProxyHandler", objectName );
147 mInitialMBeanInfo = conn.getMBeanInfo(objectName);
127 MBeanProxyHandler( final MBeanServerConnection conn, final ObjectName objectName, final MBeanInfo mbeanInfo) argument
/glassfish-3.1.2/common/mejb/src/test/java/org/glassfish/admin/mejb/test/
H A DMEJBTest.java103 private void testMBean( final ObjectName objectName) argument
107 println( "" + objectName );
110 final MBeanInfo info = mejb.getMBeanInfo(objectName);
115 final AttributeList list = mejb.getAttributes( objectName, attrNames );
121 final Object value = mejb.getAttribute( objectName, attrName );
142 for( final ObjectName objectName : items )
144 if ( mejb.isRegistered(objectName) )
146 testMBean(objectName);
158 for( final ObjectName objectName : items )
160 if ( mejb.isRegistered(objectName) )
[all...]
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/
H A DRegistrationListener.java113 isAMX(final ObjectName objectName) { argument
114 return objectName.getDomain().equals(AMX.JMX_DOMAIN);
118 mbeanRegistered(final ObjectName objectName) { argument
119 if (isAMX(objectName)) {
120 mRegistered.add(objectName);
121 mCurrentlyRegistered.add(objectName);
126 mbeanUnregistered(final ObjectName objectName) { argument
127 if (isAMX(objectName)) {
128 mUnregistered.add(objectName);
129 mCurrentlyRegistered.remove(objectName);
[all...]
H A DJMXTestBase.java193 toString(final ObjectName objectName) { argument
194 return JMXUtil.toString(objectName);
/glassfish-3.1.2/common/amx-config-impl/src/main/java/org/glassfish/admin/amx/impl/config/
H A DConfigBeanRegistry.java88 private MBeanInstance getMBeanInstance(final ObjectName objectName) argument
90 return mFromObjectName.get(objectName);
98 public synchronized void add(final ConfigBean cb, final ObjectName objectName, final Object impl) argument
100 final MBeanInstance mb = new MBeanInstance(cb, objectName, impl);
102 mFromObjectName.put(objectName, mb);
103 //debug( "ConfigBeanRegistry.add(): " + objectName );
106 public synchronized void remove(final ObjectName objectName) argument
108 final MBeanInstance mb = mFromObjectName.get(objectName);
111 mFromObjectName.remove(objectName);
114 //debug( "ConfigBeanRegistry.remove(): " + objectName );
118 getConfigBean(final ObjectName objectName) argument
130 getImpl(final ObjectName objectName) argument
[all...]
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/base/
H A DTools.java105 @Param(name = "objectName")
106 final ObjectName objectName);
103 java( @escription�) @aramname = �) final ObjectName objectName) argument
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/core/
H A DAMXProxy.java210 public ObjectName objectName(); method in interface:AMXProxy
H A DPathnameParser.java401 public static String parentPath(final ObjectName objectName) argument
403 return Util.unquoteIfNeeded(objectName.getKeyProperty(PARENT_PATH_KEY));
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/base/
H A DContainerTest.java132 checkIsContainer(final ObjectName objectName) argument
134 final AMX proxy = getProxyFactory().getProxy(objectName, AMX.class);
142 "proxy has ContaineeJ2EETypes but is not a Container: " + objectName;
H A DAMXTest.java109 checkContainerObjectName(final ObjectName objectName) argument
112 getConnection().getAttribute(objectName, AMXAttributes.ATTR_CONTAINER_OBJECT_NAME);
114 if (Util.getJ2EEType(objectName).equals(XTypes.DOMAIN_ROOT)) {
118 final AMX proxy = getProxyFactory().getProxy(objectName, AMX.class);
136 checkTemplateAttributes(final ObjectName objectName) { argument
137 final AMX proxy = getProxyFactory().getProxy(objectName, AMX.class);
156 trace("\n" + objectName +
255 final ObjectName objectName = Util.getObjectName(containee);
256 if (!shouldTest(objectName)) {
264 trace("Can't get container for: " + objectName);
357 checkMaps(final ObjectName objectName) argument
399 checkCompatibleOperationExists( final ObjectName objectName, final Method proxyMethod, final String mbeanMethodName, final MBeanInfo mbeanInfo) argument
555 checkReturnTypes(final ObjectName objectName) argument
594 checkAttributeTypes(final ObjectName objectName) argument
633 checkCreateRemoveGet(final ObjectName objectName) argument
680 checkImplementsAMXConfig(final ObjectName objectName) argument
728 checkMapsHaveCreateRemove(final ObjectName objectName) argument
921 testNoGoofyNames( final ObjectName objectName, final MBeanFeatureInfo[] featureInfos) argument
[all...]
H A DGenericTest.java99 final ObjectName objectName,
110 final Object a = conn.getAttribute(objectName, attrName);
186 final ObjectName objectName,
191 trace(problems.keySet().size() + (failure ? " Failures: " : " Warnings: ") + objectName);
214 final ObjectName objectName,
219 warning("MBean has nulls in its MBeanAttributeInfo[]: " + objectName);
224 warning("MBean has nulls in its MBeanConstructorInfo[]: " + objectName);
229 warning("MBean has nulls in its MBeanOperationInfo[]: " + objectName);
234 warning("MBean has nulls in its MBeanNotificationInfo[]: " + objectName);
247 final ObjectName objectName,
98 validateAttributesSingly( final ObjectName objectName, final String[] attrNames, Map<String, Throwable> failures, Map<String, Throwable> warnings) argument
184 displayAttributeFailuresOrWarnings( final boolean failure, final ObjectName objectName, final MBeanAttributeInfo[] infos, final Map<String, Throwable> problems) argument
213 validateMBeanInfo( final ObjectName objectName, final MBeanInfo info) argument
246 printDuplicateAttributes( final ObjectName objectName, MBeanAttributeInfo[] attrInfos, String name) argument
264 validateUniqueAttributeNames( final ObjectName objectName, MBeanAttributeInfo[] attrInfos) argument
293 validateMissingAndEmptyAttributeNames(final ObjectName objectName) argument
343 validateAttributeTypes( final ObjectName objectName, final AttributeList attrs, final MBeanAttributeInfo[] attrInfos) argument
389 validateAttributes( final ObjectName objectName, final MBeanAttributeInfo[] attrInfos) argument
528 validateGetters( final ObjectName objectName, final MBeanOperationInfo[] operationInfos) argument
571 validate(final ObjectName objectName) argument
[all...]
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/monitor/
H A DMonitorTest.java153 final ObjectName objectName,
156 " in \"" + objectName +
160 " in \"" + objectName +
169 final ObjectName objectName = Util.getObjectName(mon);
178 checkLegalStatistic(objectName, s);
186 final ObjectName objectName = Util.getObjectName(mon);
194 checkLegalStatistic(objectName, s);
220 checkMonitoringStats(final ObjectName objectName) argument
222 final MonitoringStats mon = getProxyFactory().getProxy(objectName, MonitoringStats.class);
279 final ObjectName objectName
152 checkLegalStatistic( final ObjectName objectName, final Statistic s) argument
333 checkAllStats(final ObjectName objectName) argument
435 checkStatsClassSuppliesAllStatistics(final ObjectName objectName) argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/connector/
H A DMapperListener.java198 ObjectName objectName = new ObjectName(onStr);
199 Set<ObjectInstance> set = mBeanServer.queryMBeans(objectName, null);
208 objectName = new ObjectName(onStr);
209 set = mBeanServer.queryMBeans(objectName, null);
218 objectName = new ObjectName(onStr);
219 set = mBeanServer.queryMBeans(objectName, null);
227 objectName = new ObjectName(onStr);
229 mBeanServer.addNotificationListener(objectName, this, null, null);
232 mBeanServer.addNotificationListener(objectName, this, this, null);
256 ObjectName objectName
421 registerHost(ObjectName objectName) argument
474 unregisterHost(ObjectName objectName) argument
502 registerContext(ObjectName objectName) argument
559 unregisterContext(ObjectName objectName) argument
607 registerWrapper(ObjectName objectName) argument
668 unregisterOSGiWrapper(ObjectName objectName) argument
[all...]
/glassfish-3.1.2/common/amx-core-impl/src/main/java/org/glassfish/admin/amx/impl/mbean/
H A DToolsImpl.java97 final ObjectName objectName = getDomainRootProxy().getPathnames().resolvePath(path);
99 Collection<ObjectName> c = objectName == null ? new ArrayList<ObjectName>() : Collections.singleton(objectName);
103 public String java(final ObjectName objectName) { argument
104 final MBeanInfo mbeanInfo = getProxyFactory().getMBeanInfo(objectName);
122 for (final ObjectName objectName : objectNames) {
123 final MBeanInfo mbeanInfo = getProxyFactory().getMBeanInfo(objectName);
129 final String type = Util.getTypeProp(objectName);
137 buf.append("MBeanInfo for " + objectName + NL);
140 buf.append(java(objectName));
210 validate(final ObjectName objectName) argument
[all...]
H A DComplianceMonitor.java119 final Set<ObjectName> existing = JMXUtil.queryLocalMBeans(mServer, mDomainRoot.objectName().getDomain(), System.getProperty("com.sun.ass.instanceName"));
120 for (final ObjectName objectName : existing) {
121 //debug( "Queueing for validation: " + objectName );
122 validate(objectName);
130 private void validate(final ObjectName objectName) { argument
132 mValidatorThread.add(objectName);
161 final ObjectName objectName = notif.getMBeanName();
162 if (objectName.getDomain().equals(mDomainRoot.objectName().getDomain())) {
163 validate(objectName);
211 add(final ObjectName objectName) argument
[all...]
/glassfish-3.1.2/admin/jmx-remote/client/src/main/java/com/sun/enterprise/admin/jmx/remote/internal/
H A DRemoteMBeanServerConnection.java162 public void addNotificationListener(ObjectName objectName, argument
172 objectName,
181 toArray(objectName, notifMgr.getId(), id, null) );
182 // toArray(objectName, notificationListener, notificationFilter, obj) );
191 public void addNotificationListener(ObjectName objectName, argument
202 toArray(objectName, objectName1, notificationFilter, obj, info.computeId()) );
210 public ObjectInstance createMBean(String str, ObjectName objectName) throws argument
220 MBeanServerRequestMessage.CREATE_MBEAN, toArray(str, objectName) );
230 public ObjectInstance createMBean(String str, ObjectName objectName, ObjectName loaderName) argument
240 MBeanServerRequestMessage.CREATE_MBEAN_LOADER, toArray(str, objectName, loaderNam
250 createMBean(String str, ObjectName objectName, Object[] params, String[] signature) argument
271 createMBean(String str, ObjectName objectName, ObjectName loaderName, Object[] params, String[] signature) argument
293 getAttribute(ObjectName objectName, String str) argument
311 getAttributes(ObjectName objectName, String[] attributes) argument
381 getMBeanInfo(ObjectName objectName) argument
399 getObjectInstance(ObjectName objectName) argument
417 invoke(ObjectName objectName, String methodName, Object[] params, String[] signature) argument
436 isInstanceOf(ObjectName objectName, String className) argument
455 isRegistered(ObjectName objectName) argument
473 queryMBeans(ObjectName objectName, QueryExp queryExp) argument
491 queryNames(ObjectName objectName, QueryExp queryExp) argument
509 removeNotificationListener(ObjectName objectName, NotificationListener notificationListener) argument
536 removeNotificationListener(ObjectName objectName, ObjectName objectName1) argument
556 removeNotificationListener(ObjectName objectName, ObjectName objectName1, NotificationFilter notificationFilter, Object obj) argument
581 removeNotificationListener(ObjectName objectName, NotificationListener notificationListener, NotificationFilter notificationFilter, Object obj) argument
612 setAttribute(ObjectName objectName, Attribute attribute) argument
630 setAttributes(ObjectName objectName, AttributeList list) argument
648 unregisterMBean(ObjectName objectName) argument
[all...]
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/core/proxy/
H A DProxyFactory.java215 final ObjectName objectName = notif.getMBeanName();
216 //debug( "ProxyFactory.handleNotification: UNREGISTERED: ", objectName );
423 public MBeanInfo getMBeanInfo( final ObjectName objectName )
427 MBeanInfo info = mMBeanInfoCache.get(objectName);
431 info = getMBeanServerConnection().getMBeanInfo(objectName);
434 mMBeanInfoCache.put(objectName, info);
473 @param objectName ObjectName for which a proxy should be created
479 final ObjectName objectName,
482 final MBeanInfo info = getMBeanInfo(objectName);
485 final T proxy = getProxy( objectName, inf
478 getProxy( final ObjectName objectName, Class<T> intf) argument
491 getProxy( final ObjectName objectName) argument
537 getProxy( final ObjectName objectName, final MBeanInfo mbeanInfoIn, final Class<T> intfIn) argument
[all...]
/glassfish-3.1.2/common/amx-core-impl/src/main/java/org/glassfish/admin/amx/impl/
H A DAMXStartupService.java227 return getDomainRootProxy().extra().objectName();
241 ObjectName objectName = AMXGlassfish.DEFAULT.domainRoot();
242 if (!mMBeanServer.isRegistered(objectName)) {
244 objectName = _loadAMXMBeans();
250 return objectName;
331 public void mbeanRegistered(final ObjectName objectName, final MBeanListener listener) { argument
332 super.mbeanRegistered(objectName, listener);
334 //debug( "MBean registered: " + objectName );

Completed in 3977 milliseconds

12