Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5246 Open console support
  3. JBAS-6198

Javadoc for ManagedOperation.invoke() says it will return a MetaValue, but it's returning unwrapped Objects

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Major
    • JBossAS-5.0.0.GA
    • JBossAS-5.0.0.CR2
    • ProfileService
    • None

    Description

      I'm seeing this for two Datasource operations:

      "listFormattedSubPoolStatistics"

      is returning a java.lang.String

      and

      "listStatistics"

      is returning a org.jboss.resource.statistic.pool.JBossManagedConnectionPoolStatistics

      Also, if invoke() is supposed to always return a MetaValue, can it's return type be changed from java.lang.Object to MetaValue?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: