commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26356] New: - BaseModelMBean class setModeledType method should be setModelerType
Date Thu, 22 Jan 2004 19:22:08 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26356>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26356

BaseModelMBean class setModeledType method should be setModelerType

           Summary: BaseModelMBean class setModeledType method should be
                    setModelerType
           Product: Commons
           Version: 1.1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Modeler
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: ed_french@g1.com


The ManagedMbean class creates an MBean Attribute named modelerType and creates 
an instance of the BaseModelMBean with this attribute.  The BaseModelMBean has 
a getModelerType method, but there is no corresponding setModelerType.  It is 
incorrectly named setModeledType.  This causes an InvocationTargetException 
when using a Web JMX interface page which calls setAttributes passing in all 
attributes for the MBean, since there is no setter for the modelerType 
attribute.

Also, it would be nice to have this as an optional attribute which you may not 
want to expose via the MBean interface.  When trying to manage simple Java Bean 
like classes, we really just want to expose the attributes and operations on 
the java bean - not the extra modelerType used by the ManagedBean class.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message