Package org.exoplatform.container.jmx.support

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


         ExoContainerContext.setCurrentContainer(oldContainer);
      }
     
      // Manual

      root.registerComponentInstance("Bar", new ManagedWithObjectNameTemplate("Bar"));

      Object instance2 = root.getComponentInstance("Bar");
      assertNotNull(instance2);

      Set set2 = server.queryMBeans(ObjectName.getInstance("exo:object=Bar"), null);
View Full Code Here


   public void testManagementAwareManagingOtherBeans() throws Exception
   {
      RootContainer container = createRootContainer("configuration4.xml");
      ManagedManagementAware aware = (ManagedManagementAware)container.getComponentInstance("ManagedManagementAware");
      aware.context.register(new ManagedWithObjectNameTemplate("juu"));
      container.getMBeanServer().getObjectInstance(new ObjectName("exo:object=juu"));
   }
View Full Code Here

TOP

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

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.