Uploaded image for project: 'Commons Modeler'
  1. Commons Modeler
  2. MODELER-13

[modeler] BaseModelMBean class setModeledType method should be setModelerType

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 2.0
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Bugzilla Id:
      26356

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ed_french@g1.com Ed French
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: