Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6620 JON/Open Console Issues
  3. JBAS-6688

expose ManagedProperties representing ObjectNames as SimpleMetaType.STRINGs rather than ImmutableCompositeMetaType{javax.management.ObjectName}s

XMLWordPrintable

      Properties representing ObjectNames in the Topic and Queue ManagedComponents are currently exposed as a complicated CompositeValueSupport type that contains a String and a Properties child value, e.g.:

      name=serverPeer, viewUse=CONFIGURATION, mandatory=false, value= CompositeValueSupport: metaType=[ImmutableCompositeMetaType

      {javax.management.ObjectName items =[name=domain type=java.lang.String], [name=keyPropertyList type=java.util.Properties]}

      ] items=[domain=SimpleMetaType:java.lang.String:jboss.messaging,keyProper
      tyList=

      {service=ServerPeer}]
      Items:
      domain=SimpleMetaType:java.lang.String:jboss.messaging
      keyPropertyList={service=ServerPeer}

      I think exposing it as a simple value of type SimpleMetaType.STRING would make things easier for Jopr/EmbJopr, as well as other clients of the management interface. As it's exposed today, just to get it into a usable format, the client would have to write code to convert the CompositeValue into an ObjectName, rather than being able to simply call new ObjectName(simpleValue.getValue()).

              starksm64 Scott Stark (Inactive)
              ips_jira Ian Springer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: