MBeanExporter implements newly introduced SmartInitializingSingleton callback interface

Issue: SPR-8045
This commit is contained in:
Juergen Hoeller
2014-07-10 15:48:36 +02:00
parent 29f6f3d7e7
commit 2bd6e24b65
4 changed files with 88 additions and 7 deletions

View File

@@ -48,6 +48,7 @@ import static org.junit.Assert.*;
* @author Juergen Hoeller
* @author Sam Brannen
* @author Chris Beams
* @author Stephane Nicoll
*/
public abstract class AbstractMBeanServerTests {
@@ -100,7 +101,7 @@ public abstract class AbstractMBeanServerTests {
*/
protected void start(MBeanExporter exporter) {
exporter.afterPropertiesSet();
// exporter.register();
exporter.afterSingletonsInstantiated();
}
protected void assertIsRegistered(String message, ObjectName objectName) {