Package org.jacorb.notification.jmx

Examples of org.jacorb.notification.jmx.BroadcastSupportMBeanDecorator


    public void testRegisterWithDecorator() throws Exception
    {
        TestService testService = new TestService();
        ObjectName name = new ObjectName("domain:type=service");
        final BroadcastSupportMBeanDecorator mbean = new BroadcastSupportMBeanDecorator(testService);
        mbeanServer_.registerMBean(mbean, name);

        MockControl controlNotificationListener = MockControl.createControl(NotificationListener.class);
        NotificationListener mockNotificationListener = (NotificationListener) controlNotificationListener.getMock();
View Full Code Here


    @Test
    public void testRegisterWithDecorator() throws Exception
    {
        TestService testService = new TestService();
        ObjectName name = new ObjectName("domain:type=service");
        final BroadcastSupportMBeanDecorator mbean = new BroadcastSupportMBeanDecorator(testService);
        mbeanServer_.registerMBean(mbean, name);

        MockControl controlNotificationListener = MockControl.createControl(NotificationListener.class);
        NotificationListener mockNotificationListener = (NotificationListener) controlNotificationListener.getMock();
View Full Code Here

TOP

Related Classes of org.jacorb.notification.jmx.BroadcastSupportMBeanDecorator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.