[
https://jira.jboss.org/jira/browse/JBAS-6198?page=com.atlassian.jira.plug...
]
Scott M Stark resolved JBAS-6198.
---------------------------------
Fix Version/s: JBossAS-5.0.0.GA
Resolution: Done
With the change in jboss-managed 2.0.0.CR5 to type return values as MetaValues, the
ManagementViewImpl layer is converting the return values to MetaValues
Javadoc for ManagedOperation.invoke() says it will return a
MetaValue, but it's returning unwrapped Objects
-----------------------------------------------------------------------------------------------------------
Key: JBAS-6198
URL:
https://jira.jboss.org/jira/browse/JBAS-6198
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Components: ProfileService
Affects Versions: JBossAS-5.0.0.CR2
Reporter: Ian Springer
Assignee: Scott M Stark
Fix For: JBossAS-5.0.0.GA
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?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira