tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amy Roh <amyroh...@yahoo.com>
Subject Re: TC5 JMX objectName type
Date Wed, 21 May 2003 00:11:06 GMT
As I suspected BaseModelMBean.getObjectName returns javax.management.ObjectName instead of
String.  :-(

Amy Roh <amyroh102@yahoo.com> wrote:The "objectName" attribute for WebModule and Servlet
is java.lang.String type in mbeans-descriptor file. However, strangely the actual type of
"objectName" attribute still returns javax.management.ObjectName if I test it out using getAttribute(obj,
"objectName").getClass().getName(). 

Costin, is the type getting overwritten in modeler somewhere? 

Thanks,
Amy 


---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.


---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message