geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dain Sundstrom (JIRA)" <...@geronimo.apache.org>
Subject [jira] Closed: (GERONIMO-1635) kernel.listGBeans(pattern) does not respect default domain name
Date Sat, 18 Feb 2006 00:47:04 GMT
     [ http://issues.apache.org/jira/browse/GERONIMO-1635?page=all ]
     
Dain Sundstrom closed GERONIMO-1635:
------------------------------------

    Resolution: Fixed

$ svn commit 
Sending        modules/kernel/src/java/org/apache/geronimo/kernel/basic/BasicKernel.java
Sending        modules/kernel/src/test/org/apache/geronimo/kernel/GBeanTest.java
Transmitting file data ..
Committed revision 378668.


> kernel.listGBeans(pattern) does not respect default domain name
> ---------------------------------------------------------------
>
>          Key: GERONIMO-1635
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1635
>      Project: Geronimo
>         Type: Bug
>     Versions: 1.0
>     Reporter: Dain Sundstrom
>     Assignee: Dain Sundstrom
>     Priority: Blocker
>      Fix For: 1.0.1

>
> This test fails:
>     public void testListGBeans() throws Exception {
>         ObjectName name = new ObjectName(":name=test");
>         GBeanData gbean = new GBeanData(name, MockGBean.getGBeanInfo());
>         
>         kernel.loadGBean(gbean, getClass().getClassLoader());
>         kernel.startGBean(name);
>         assertEquals(State.RUNNING_INDEX, kernel.getGBeanState(name));
>         Set gbeans = kernel.listGBeans(name);
>         assertEquals(1, gbeans.size());
>         assertEquals(name, gbeans.iterator().next());
>     }
> This is cause by the listGBeans method on basic kernel not adding the default domain
name to the object name query.

-- 
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