geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "gianny DAMOUR" <>
Subject Re: JMX Management Console
Date Wed, 03 Sep 2003 01:30:43 GMT
>	Let me ask this -- the J2EEServer interface provides a method
>(getResources) to get all the resources available in the server.  Is it
>them up to the management console to look through all those resources
>individually and establish their resource type?

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:,name=Oracle,J2EEServer=server,name=OpenJMS,J2EEServer=server

By using the value of the j2eeType property, one knows that the first one is 
a JDBCResource and the second one is JMSResource.

Trouvez l'âme soeur sur MSN Rencontres !

View raw message