1 22 package org.jboss.test.messagedriven.mock; 23 24 import java.util.HashMap ; 25 import java.util.Map ; 26 27 33 public class JmsMockObjectFactory 34 { 35 36 private static final String DEFAULT_PROVIDER_URL = ""; 37 38 private static final Map objectUrlMap = new HashMap (); 39 private static final Map mockObjectMap = new HashMap (); 40 41 static{ 42 43 objectUrlMap.put(JmsMockObjectType.PROVIDER_ADAPTER, DEFAULT_PROVIDER_URL); 44 45 } 46 47 public static JmsMockObject loadObject(JmsMockObjectType type, String config){ 48 49 return null; 50 } 51 52 53 public static JmsMockObject loadObject(JmsMockObjectType type){ 54 55 final String url = (String )objectUrlMap.get(type); 56 return loadObject(type, url); 57 58 } 59 60 } 61 | Popular Tags |