Package com.alibaba.druid.pool

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


        dataSource.setUrl("jdbc:mock:xxx");
        dataSource.init();
       
        Assert.assertTrue(dataSource.isMbeanRegistered());
       
        dataSource.registerMbean();
        Assert.assertTrue(dataSource.isMbeanRegistered());
       
        dataSource.unregisterMbean();
        Assert.assertFalse(dataSource.isMbeanRegistered());
        Assert.assertFalse(dataSource.isMbeanRegistered());
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.