[
https://issues.apache.org/jira/browse/GERONIMO-2607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462669
]
Anita Kulshreshtha commented on GERONIMO-2607:
----------------------------------------------
>From a discussion on the mailing list:
http://www.nabble.com/Re%3A-svn-commit%3A-r485321---in--geronimo-server-trunk-modules%3A-geronimo-kernel-src-main-java-org-apache-geronimo-gbean--geronimo-kernel-src-main-java-org-apache-geronimo-gbean-runtime--geronimo-kernel-src-test-java-org-apache-geronimo-gbean--geronimo-k-p7857544.html
The kernel.diff patch:
1. deprecates addOperation(..) methods from GBeanInfoBuilder. These are
redundant because the operations added by these methods were already being
added by addInterface(..).
A side effect of this is that non-existent or inconsistent operations can
not be added.
2. Makes the new addOpearation methods (added in rev 485321) private
3. updates GBeanInfoTest
These changes are sufficient to provide a return type for operations to JMX
tools.
> GoperationInfo should include the return type for the operation
> ---------------------------------------------------------------
>
> Key: GERONIMO-2607
> URL: https://issues.apache.org/jira/browse/GERONIMO-2607
> Project: Geronimo
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Components: kernel
> Affects Versions: 2.0
> Environment: All
> Reporter: Anita Kulshreshtha
> Assigned To: Anita Kulshreshtha
> Attachments: kernel.diff, modules.diff, operations.jpg
>
>
> When the operations are viewed by jconsole the return type is not avaialble.
> GOpeartionInfo should keep the retrunType information.
> This will break backward compatibility of GBeanInfo.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira