geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <d...@iq80.com>
Subject Re: BasicKernel.listGBeansByInterface(String[] interfaces) question
Date Tue, 29 Nov 2005 21:30:56 GMT
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

Mime
View raw message