geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bohn (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (GERONIMO-1246) BasicKernel.listGBeansByInterface should get GBeanInfo directly
Date Tue, 29 Nov 2005 21:54:31 GMT
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
 Assigned to: Joe Bohn 
     Fix For: 1.0



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


Mime
View raw message