[nanocontainer-scm] [jira] Updated: (NANO-114) JMXVisitor throws ClassCastException if key is not a String or Class

jira-yCVjj/[email protected] Wed, 1 Dec 2004 10:03:11 -0500 (EST)
Newsgroups gmane.comp.java.nanocontainer.cvs
Message-ID <[email protected]>
The following issue has been updated:

    Updater: John Conlon (mailto:jconlon-H77XNXO9PA9Wk0Htik3J/[email protected])
       Date: Wed, 1 Dec 2004 10:01 AM
    Comment:
Added method to register MBeanInfo inplementations to non Class keyed components.
    Changes:
             Attachment changed to JMXVisitor.java
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/NANO-114?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/NANO-114

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: NANO-114
    Summary: JMXVisitor throws ClassCastException if  key is not a String or Class
       Type: Bug

     Status: Reopened
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: NanoContainer
 Components: 
             jmx
   Fix Fors:
             1.0-beta-5
   Versions:
             1.0-beta-4

   Assignee: Joerg Schaible
   Reporter: Joerg Schaible

    Created: Tue, 30 Nov 2004 3:48 AM
    Updated: Wed, 1 Dec 2004 10:01 AM

Description:
The JMXVisitor implementation makes an explicit assumption about the registered key to be either a Class type or  aString in method componentKeyAsString. If the key is not a Class it sould get the string representation from the key instead casting it.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira