Package org.jboss.managed.api

Examples of org.jboss.managed.api.RunStateMapper


      assertNotNull(q1GV);
      ManagedObject q1MO = (ManagedObject) q1GV.getValue();
      assertNotNull(q1MO);

      ComponentType type = new ComponentType("JMSDestination", "queue");
      RunStateMapper stateMapper = null;
      ManagedComponentImpl mc = new ManagedComponentImpl(type, md, q1MO, stateMapper);
      md.addComponent(q1MO.getName(), mc);

      RunState state = mc.getRunState();
      assertEquals(RunState.RUNNING, state);
View Full Code Here

TOP

Related Classes of org.jboss.managed.api.RunStateMapper

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.