1 16 17 package org.apache.axis.configuration; 18 19 import org.apache.axis.EngineConfiguration; 20 import org.apache.axis.EngineConfigurationFactory; 21 22 23 32 public class DefaultEngineConfigurationFactory 33 implements EngineConfigurationFactory 34 { 35 protected final EngineConfigurationFactory factory; 36 37 protected DefaultEngineConfigurationFactory(EngineConfigurationFactory factory) { 38 this.factory = factory; 39 } 40 41 45 public DefaultEngineConfigurationFactory() { 46 this(EngineConfigurationFactoryFinder.newFactory()); 47 } 48 49 54 public EngineConfiguration getClientEngineConfig() { 55 return factory == null ? null : factory.getClientEngineConfig(); 56 } 57 58 63 public EngineConfiguration getServerEngineConfig() { 64 return factory == null ? null : factory.getServerEngineConfig(); 65 } 66 } 67 | Popular Tags |