You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Joe Bohn (JIRA)" <de...@geronimo.apache.org> on 2005/11/29 23:44:32 UTC

[jira] Updated: (GERONIMO-1246) BasicKernel.listGBeansByInterface should get GBeanInfo directly

     [ http://issues.apache.org/jira/browse/GERONIMO-1246?page=all ]

Joe Bohn updated GERONIMO-1246:
-------------------------------

    Attachment: BasicKernel.patch

> BasicKernel.listGBeansByInterface should get GBeanInfo directly
> ---------------------------------------------------------------
>
>          Key: GERONIMO-1246
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1246
>      Project: Geronimo
>         Type: Improvement
>   Components: kernel
>     Versions: 1.0
>  Environment: all
>     Reporter: Joe Bohn
>     Assignee: Joe Bohn
>      Fix For: 1.0
>  Attachments: BasicKernel.patch
>
> See dev list discussion  http://mail-archives.apache.org/mod_mbox/geronimo-dev/200511.mbox/%3c438CC07C.3040306@earthlink.net%3e
> On Nov 29, 2005, at 12:56 PM, Joe Bohn wrote:
> > Is there a reason why BasicKernel.listGBeansByInterface(String[]  interfaces) first obtains the GBeanData for the named object to get  the 
> > GBeanInfo instead of just directly getting the GBeanInfo for  the named object?  (see line 289 of BasicKernel).  It looks as if  GBeanInfo(name) 
> > would be more efficient.
> That is grossly inefficient.  The code should just ask for the  gbeanInfo directly.
> -dain 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira