Package org.jboss.ha.framework.server.managed

Examples of org.jboss.ha.framework.server.managed.ProtocolStackConfigurationsMapper


  
   public void testRoundTrip() throws Exception
   {
      Map<String, ProtocolStackConfigInfo> map = factory.getProtocolStackConfigurations();
     
      ProtocolStackConfigurationsMapper testee = new ProtocolStackConfigurationsMapper();
     
      MetaValue metaValue = testee.createMetaValue(ProtocolStackConfigurationsMapper.TYPE, map);
      ManagedObjectTestUtil.validateProtocolStackConfigurations(metaValue, new String[]{"unshared1", "shared1"});
     
      Map<String, ProtocolStackConfigInfo> restored = testee.unwrapMetaValue(metaValue);
      assertEquals(map.keySet(), restored.keySet());
     
      // FIXME go deeper
   }
View Full Code Here

TOP

Related Classes of org.jboss.ha.framework.server.managed.ProtocolStackConfigurationsMapper

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.