Package org.exoplatform.container.jmx.support

Examples of org.exoplatform.container.jmx.support.ManagedComponentRequestLifeCycle


   }

   public void testRootManagedRequestLifeCycle() throws Exception
   {
      RootContainer container = createRootContainer("configuration5.xml");
      ManagedComponentRequestLifeCycle component = (ManagedComponentRequestLifeCycle)container.getComponentInstanceOfType(ManagedComponentRequestLifeCycle.class);
      assertNotNull(component);
      MBeanServer server = container.getMBeanServer();
      server.invoke(new ObjectName("exo:object=ManagedComponentRequestLifeCycle"), "foo", new Object[0], new String[0]);
      assertEquals(1, component.startCount);
      assertEquals(1, component.fooCount);
View Full Code Here

TOP

Related Classes of org.exoplatform.container.jmx.support.ManagedComponentRequestLifeCycle

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.