Return-Path: Delivered-To: apmail-incubator-geronimo-dev-archive@www.apache.org Received: (qmail 70273 invoked from network); 3 Sep 2003 03:04:27 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Sep 2003 03:04:27 -0000 Received: (qmail 66638 invoked by uid 500); 3 Sep 2003 03:01:12 -0000 Delivered-To: apmail-incubator-geronimo-dev-archive@incubator.apache.org Received: (qmail 66575 invoked by uid 500); 3 Sep 2003 03:01:11 -0000 Mailing-List: contact geronimo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: geronimo-dev@incubator.apache.org Delivered-To: mailing list geronimo-dev@incubator.apache.org Received: (qmail 66516 invoked from network); 3 Sep 2003 03:01:10 -0000 Received: from unknown (HELO sark.cc.gatech.edu) (130.207.7.23) by daedalus.apache.org with SMTP; 3 Sep 2003 03:01:10 -0000 Received: from oscar.cc.gatech.edu (oscar.cc.gatech.edu [130.207.107.12]) by sark.cc.gatech.edu (8.12.9/8.12.8) with ESMTP id h83317Df023162 for ; Tue, 2 Sep 2003 23:01:07 -0400 (EDT) Received: from mkurjano (MattK@r73h117.res.gatech.edu [128.61.73.117]) by oscar.cc.gatech.edu (8.12.9/8.12.8) with ESMTP id h83316Qb019455 for ; Tue, 2 Sep 2003 23:01:06 -0400 (EDT) From: "Matt Kurjanowicz" To: Subject: RE: JMX Management Console Date: Tue, 2 Sep 2003 23:00:59 -0400 Message-ID: <000301c371c7$9a1601f0$75493d80@mkurjano> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N It's good to know that all this JMX stuff fits together well, and looks easily doable... BUT, and this is embarrassing to admit, I've lost you guys in converstation. Is there any place where I can go to get basic documentation into all this stuff. I'm working through the J2EE tutorial on the Sun website right now...is that the best place? Thanks, Matt mkurjano at cc.gatech.edu -----Original Message----- From: Aaron Mulder [mailto:ammulder@alumni.princeton.edu] Sent: Tuesday, September 02, 2003 9:25 PM To: geronimo-dev@incubator.apache.org Subject: Re: JMX Management Console Thanks you again. Am I right that in order to extract the "j2eeType" property from the String supplied by J2EEServer, we could do something like this: new ObjectName(name).getKeyProperty("j2eeType") Thanks, Aaron On Wed, 3 Sep 2003, gianny DAMOUR wrote: > This is a possible implementation. However, J2EEServer.getResources returns > an array of OBJECT_NAME/String identifying the available resources. A name > contains a "j2eeType" property which can be used to infer the type of the > Manageable Object. > > For instance, the names returned by J2EEServer.getResources could be: > geronimo.j2ee.management:j2eeType=JDBCResource,name=Oracle,J2EEServer=se rver > geronimo.j2ee.management:j2eeType=JMSResource,name=OpenJMS,J2EEServer=se rver > > By using the value of the j2eeType property, one knows that the first one is > a JDBCResource and the second one is JMSResource.