mx4j/src/test/test/javax/management/modelmbean RequiredModelMBeanTest.java,1.8,1.9
Simone Bordet <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mx4j/mx4j/src/test/test/javax/management/modelmbean
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19201/src/test/test/javax/management/modelmbean
Modified Files:
RequiredModelMBeanTest.java
Log Message:
+ Cleanup
+ Added test for bug #920494: setManagedResource could not be invoked even if present in the ModelMBeanInfo
Index: RequiredModelMBeanTest.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/test/test/javax/management/modelmbean/RequiredModelMBeanTest.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** RequiredModelMBeanTest.java 22 Oct 2003 23:22:53 -0000 1.8
--- RequiredModelMBeanTest.java 22 Mar 2004 13:41:36 -0000 1.9
***************
*** 10,14 ****
import java.util.List;
-
import javax.management.Attribute;
import javax.management.AttributeList;
--- 10,13 ----
***************
*** 28,36 ****
import javax.management.modelmbean.ModelMBeanAttributeInfo;
import javax.management.modelmbean.ModelMBeanInfoSupport;
[...1263 lines suppressed...]
! {
! m_stored.set(true);
! super.store();
! }
! }
! public static class TestNotificationListener implements NotificationListener
! {
! String type = null;
! String message = null;
! Object handback = null;
!
! public void handleNotification(Notification notification, Object handback)
! {
! type = notification.getType();
! message = notification.getMessage();
! this.handback = handback;
! }
! }
}
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click