public void testLifecycleCallbacks() throws Exception
{
MBeanServer server = MBeanServerFactory.createMBeanServer();
MySharedInterceptor shared = new MySharedInterceptor();
assertTrue(shared.isInit == false);
assertTrue(shared.isStart == false);
ObjectName oname = shared.register(server);
assertTrue(shared.isInit == true);
assertTrue(shared.isStart == true);
assertTrue(shared.isStop == false);