Package org.jboss.ha.ispn.config

Examples of org.jboss.ha.ispn.config.Alias


     
      if ((aliases == null) || aliases.isEmpty()) return Collections.emptyMap();
     
      if (aliases.size() == 1)
      {
         Alias alias = aliases.get(0);
         return Collections.singletonMap(alias.getName(), alias.getTarget());
      }
     
      Map<String, String> map = new HashMap<String, String>();
     
      for (Alias alias: aliases)
      {
         map.put(alias.getName(), alias.getTarget());
      }
     
      return map;
   }
View Full Code Here


     
      if ((aliases == null) || aliases.isEmpty()) return Collections.emptyMap();
     
      if (aliases.size() == 1)
      {
         Alias alias = aliases.get(0);
         return Collections.singletonMap(alias.getName(), alias.getTarget());
      }
     
      Map<String, String> map = new HashMap<String, String>();
     
      for (Alias alias: aliases)
      {
         map.put(alias.getName(), alias.getTarget());
      }
     
      return map;
   }
View Full Code Here

     
      if ((aliases == null) || aliases.isEmpty()) return Collections.emptyMap();
     
      if (aliases.size() == 1)
      {
         Alias alias = aliases.get(0);
         return Collections.singletonMap(alias.getName(), alias.getTarget());
      }
     
      Map<String, String> map = new HashMap<String, String>();
     
      for (Alias alias: aliases)
      {
         map.put(alias.getName(), alias.getTarget());
      }
     
      return map;
   }
View Full Code Here

TOP

Related Classes of org.jboss.ha.ispn.config.Alias

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.