geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bohn (JIRA)" <>
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
     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

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.


This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message