1 23 24 package com.sun.enterprise.connectors.util; 25 26 import java.util.Hashtable ; 27 28 32 public final class JmsRaMapping { 33 34 35 private static Hashtable mapping; 36 private static Hashtable reverseMapping; 37 38 static { 39 40 mapping = new Hashtable (); 41 mapping.put("imqDestinationName","Name"); 42 mapping.put("imqDestinationDescription","Description"); 43 mapping.put("imqConnectionURL","ConnectionURL"); 44 mapping.put("imqDefaultUsername","UserName"); 45 mapping.put("imqDefaultPassword","Password"); 46 mapping.put("imqConfiguredClientID","ClientId"); 47 mapping.put("imqAddressList","AddressList"); 48 mapping.put("MessageServiceAddressList","AddressList"); 49 50 } 51 52 public String getMappedName(String name) { 53 return (String ) mapping.get(name); 54 } 55 56 } 57 | Popular Tags |