Searched refs:objectName (Results 1 - 25 of 76) sorted by relevance

1234

/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/
H A DDynamicInterceptor.java98 private ReplicationInfo getTargets( final ObjectName objectName) throws InstanceNotFoundException { argument
109 if(objectName == null) {
114 String oName = objectName.toString();
124 if(objectName.getKeyProperty("type") != null &&
125 (objectName.getKeyProperty("type").equals("Mapper") ||
126 objectName.getKeyProperty("type").equals("Connector") ||
127 objectName.getKeyProperty("type").equals("Engine") ||
128 objectName.getKeyProperty("type").equals("ProtocolHandler") ||
129 objectName.getKeyProperty("type").equals("Service") ||
130 objectName
377 invoke( final ObjectName objectName, final String operationName, final Object[] params, final String[] signature) argument
398 getAttribute(final ObjectName objectName, final String attributeName) argument
412 setAttribute(final ObjectName objectName, final Attribute attribute) argument
434 getAttributes(final ObjectName objectName, final String[] attrNames) argument
449 setAttributes(final ObjectName objectName, final AttributeList attributeList) argument
470 registerMBean(final Object obj, final ObjectName objectName) argument
475 unregisterMBean(final ObjectName objectName) argument
502 queryMBeans( final ObjectName objectName, final QueryExp expr ) argument
525 getMBeanInfo( final ObjectName objectName) argument
540 isRegistered( final ObjectName objectName) argument
564 addNotificationListener( final ObjectName objectName, final NotificationListener notificationListener, final NotificationFilter notificationFilter, final Object obj) argument
590 addNotificationListener(final ObjectName objectName, final ObjectName objectName1, final NotificationFilter notificationFilter, final Object obj) argument
615 createMBean( final String str, final ObjectName objectName) argument
634 createMBean( final String str, final ObjectName objectName, final ObjectName objectName2) argument
654 createMBean( final String str, final ObjectName objectName, final Object[] obj, final String[] str3) argument
674 createMBean( final String str, final ObjectName objectName, final ObjectName objectName2, final Object[] obj, final String[] str4) argument
700 deserialize( final ObjectName objectName, final byte[] values) argument
705 deserialize( final String str, final ObjectName objectName, byte[] values) argument
714 getObjectInstance(ObjectName objectName) argument
734 instantiate( final String str, final ObjectName objectName) argument
746 instantiate( final String str, final ObjectName objectName, final Object[] obj, final String[] str3) argument
754 isInstanceOf( final ObjectName objectName, final String str) argument
771 queryNames( final ObjectName objectName, final QueryExp queryExp) argument
805 removeNotificationListener(final ObjectName objectName, final ObjectName objectName1) argument
826 removeNotificationListener( final ObjectName objectName, final NotificationListener notificationListener) argument
848 removeNotificationListener( final ObjectName objectName, final NotificationListener notificationListener, final NotificationFilter notificationFilter, final Object obj) argument
874 removeNotificationListener( final ObjectName objectName, final ObjectName objectName1, final NotificationFilter notificationFilter, final Object obj) argument
898 getClassLoader( final ObjectName objectName) argument
904 getClassLoaderFor( final ObjectName objectName) argument
[all...]
/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/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/tests/amx/src/org/glassfish/admin/amxtest/base/
H A DNotificationPerformanceTest.java68 ObjectName objectName =
73 if (!conn.isRegistered(objectName)) {
74 objectName =
75 conn.createMBean(IMPL_CLASSNAME, objectName).getObjectName();
78 return objectName;
84 final ObjectName objectName = createTestDummy("testNotificationPerformance");
86 final TestDummyMBean test = newProxy(objectName, TestDummyMBean.class);
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...]
H A DGetSetAttributeTest.java82 final ObjectName objectName = Util.getObjectName(amx);
87 trace("GetSetAttributeTest.testGetSetAttributes: skipping identity set for " + objectName +
99 final AttributeList values = conn.getAttributes(objectName, attrNames);
120 " of MBean " + JMXUtil.toString(objectName));
125 conn.setAttribute(objectName, attr);
131 StringUtil.quote(objectName) +
142 StringUtil.quote(objectName) + NEWLINE +
147 final Object value = conn.getAttribute(objectName, attrName);
160 StringUtil.quote(objectName) + NEWLINE +
H A DNotificationServiceMgrTest.java80 final ObjectName objectName = Util.getObjectName(service);
83 assert (!getConnection().isRegistered(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...]
H A DAMXConfigLoader.java127 final ObjectName objectName = mRegistry.getObjectName(cb);
128 if (objectName != null) {
129 ImplUtil.unregisterAMXMBeans(mServer, objectName);
130 mRegistry.remove(objectName);
143 final ObjectName objectName = mRegistry.getObjectName(cb);
144 if (objectName == null) {
274 final ObjectName objectName = JMXUtil.newObjectName(AMXGlassfish.DEFAULT.amxSupportDomain(), "type=AMXConfigLoader");
276 mServer.unregisterMBean(objectName);
277 //debug( "AMXConfigLoader.start(): registered self as " + objectName );
385 final ObjectName objectName
[all...]
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/jmx/
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 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);
/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 DAMXTestBase.java204 isRemoteIncomplete(final ObjectName objectName) { argument
205 final AMX amx = getProxyFactory().getProxy(objectName, AMX.class);
221 shouldTest(final ObjectName objectName) { argument
222 boolean shouldTest = !isRemoteIncomplete(objectName);
228 waitUnregistered(final ObjectName objectName) argument
231 if (conn.isRegistered(objectName)) {
235 while (conn.isRegistered(objectName)) {
236 trace("waitUnregistered: " + objectName);
250 final ObjectName objectName) {
253 while (factory.getProxy(objectName, AM
248 waitProxyGone( final ProxyFactory factory, final ObjectName objectName) argument
261 notTested(final ObjectName objectName) argument
322 getProxy(final ObjectName objectName) argument
334 getProxy( final ObjectName objectName, final Class<T> theClass) argument
[all...]
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/core/
H A DAMXValidator.java222 private boolean bypassTesting(ObjectName objectName) { argument
223 if(checkByType(objectName) || checkByJ2EEType(objectName)) {
230 private boolean checkByType(ObjectName objectName) { argument
231 if(objectName.getKeyProperty("type") != null &&
232 (objectName.getKeyProperty("type").equals("Mapper") ||
233 objectName.getKeyProperty("type").equals("Connector") ||
234 objectName.getKeyProperty("type").equals("Manager") ||
236 objectName.getKeyProperty("type").equals("Engine") ||
237 objectName
249 checkByJ2EEType(ObjectName objectName) argument
285 ValidationFailureException(final ObjectName objectName, final String msg) argument
296 public ObjectName objectName() method in class:AMXValidator.ValidationFailureException
748 fail(final ObjectName objectName, final String msg) argument
1281 unregisterNonCompliantMBean( final ObjectName objectName) argument
1375 validate(final ObjectName objectName) argument
[all...]
H A DUtil.java134 @param objectName
136 public static ObjectName newObjectNamePattern(ObjectName objectName) { argument
137 final String props = objectName.getKeyPropertyListString();
139 return (newObjectNamePattern(objectName.getDomain(), props));
190 @param objectName
192 public static String getSelfProp(final ObjectName objectName) { argument
193 final String type = objectName.getKeyProperty(TYPE_KEY);
194 final String name = objectName.getKeyProperty(NAME_KEY);
202 @param objectName
204 public static String getAdditionalProps(final ObjectName objectName) { argument
439 getTypeProp(final ObjectName objectName) argument
448 getNameProp(final ObjectName objectName) argument
452 getParentPathProp(final ObjectName objectName) argument
460 getParent(final MBeanServer server, final ObjectName objectName) argument
[all...]
/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);
/glassfish-3.1.2/common/amx-j2ee-impl/src/main/java/org/glassfish/admin/amx/impl/j2ee/
H A DJDBCDataSourceImpl.java59 final ObjectName objectName = child( J2EETypes.JDBC_DRIVER );
61 return objectName == null ? null : objectName.toString();
H A DRegistrationSupport.java164 final ObjectName test = mJ2EEServer.objectName();
247 parentMBean = mJ2EEServer.objectName();
256 parentMBean = registerJ2EEChild(mJ2EEServer.objectName(), meta, J2EEApplication.class, J2EEApplicationImpl.class, application.getName());
262 final ObjectName objectName = registerEjbModuleAndItsComponents(parentMBean, meta, appConfig, desc);
266 top = objectName;
272 final ObjectName objectName = registerWebModuleAndItsComponents(parentMBean, meta, appConfig, desc);
276 top = objectName;
326 meta.setCorrespondingConfig(moduleConfig.objectName());
403 meta.setCorrespondingConfig(moduleConfig.objectName());
426 meta.setCorrespondingConfig(appConfig.objectName());
[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/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 DPathnamesImpl.java108 ObjectName objectName = null;
116 //cdebug( "type match for " + path + ", objectName = " + child);
121 objectName = child;
125 //cdebug( "A name is specified in path, but the type has none: path = " + path + ", objectName = " + child);
132 objectName = child;
145 objectName = child;
159 if (objectName != null) {
160 //cdebug( "Matched " + path + " to " + objectName);
161 mPathnameCache.put(path, objectName);
164 return objectName;
[all...]
/glassfish-3.1.2/admin/runtime/jsr77/src/main/java/org/glassfish/admin/runtime/jsr77/
H A DJ2EEDeployedObjectMdl.java163 ObjectName objectName = null;
165 objectName = new ObjectName(this.getobjectName());
170 if ( objectName != null )
175 notification = new Notification( state, objectName, sequenceNo);
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/config/
H A DConfigMgrTestBase.java139 final ObjectName objectName = Util.getExtra(proxy).getObjectName();
141 waitUnregistered(objectName);
142 assert (!getConnection().isRegistered(objectName));
161 final ObjectName objectName = Util.getObjectName(proxy);
162 assert (getConnection().isRegistered(objectName));
172 waitUnregistered(objectName);
173 assert (!getConnection().isRegistered(objectName));
174 waitProxyGone(factory, objectName);
213 final ObjectName objectName = Util.getObjectName(proxy);
219 while (conn.isRegistered(objectName)) {
[all...]
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/monitor/
H A DJMXMonitorMgrTest.java80 final ObjectName objectName = Util.getObjectName(mon);
89 assert (getConnection().isRegistered(objectName));
91 assert (!getConnection().isRegistered(objectName));

Completed in 3729 milliseconds

1234