Package com.alibaba.druid.pool

Examples of com.alibaba.druid.pool.DruidDataSource.unregisterMbean()


        Assert.assertTrue(dataSource.isMbeanRegistered());
       
        dataSource.registerMbean();
        Assert.assertTrue(dataSource.isMbeanRegistered());
       
        dataSource.unregisterMbean();
        Assert.assertFalse(dataSource.isMbeanRegistered());
        Assert.assertFalse(dataSource.isMbeanRegistered());
       
        dataSource.close();
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.