1 package org.apache.axis2.om; 2 3 import org.apache.axis2.soap.SOAPFactory; 4 import org.apache.axis2.soap.impl.llom.factory.SOAPLinkedListImplFactory; 5 6 22 public class OMAbstractFactory { 23 26 29 protected OMAbstractFactory() { 30 } 31 32 37 public static OMFactory getOMFactory() { 38 return FactoryFinder.findOMFactory(null); 39 } 40 41 47 public static OMFactory getOMFactory(ClassLoader classLoader) { 48 return FactoryFinder.findOMFactory(classLoader); 49 } 50 51 56 public static SOAPFactory getSOAP11Factory() { 57 return FactoryFinder.findSOAP11Factory(null); 58 } 59 60 66 public static SOAPFactory getSOAP11Factory(ClassLoader classLoader) { 67 return FactoryFinder.findSOAP11Factory(classLoader); 68 } 69 70 75 public static SOAPFactory getSOAP12Factory() { 76 return FactoryFinder.findSOAP12Factory(null); 77 } 78 79 85 public static SOAPFactory getSOAP12Factory(ClassLoader classLoader) { 86 return FactoryFinder.findSOAP12Factory(classLoader); 87 } 88 89 public static SOAPFactory getDefaultSOAPFactory() { 90 return new SOAPLinkedListImplFactory(); 91 } 92 } 93 | Popular Tags |