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 22:54:31 UTC

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

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


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

Posted by "Joe Bohn (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1246?page=all ]

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

    Geronimo Info: [Patch Available]
      Description: 
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 

  was:

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 


> 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


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

Posted by "Joe Bohn (JIRA)" <de...@geronimo.apache.org>.
     [ 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


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

Posted by "Dain Sundstrom (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1246?page=all ]
     
Dain Sundstrom closed GERONIMO-1246:
------------------------------------

    Resolution: Fixed

> 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: Dain Sundstrom
>      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


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

Posted by "Dain Sundstrom (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1246?page=all ]

Dain Sundstrom reassigned GERONIMO-1246:
----------------------------------------

    Assign To: Dain Sundstrom  (was: Joe Bohn)

> 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: Dain Sundstrom
>      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