1 55 56 package org.jboss.axis.configuration; 57 58 import org.jboss.axis.EngineConfiguration; 59 import org.jboss.axis.EngineConfigurationFactory; 60 61 62 70 public class DefaultEngineConfigurationFactory 71 implements EngineConfigurationFactory 72 { 73 protected final EngineConfigurationFactory factory; 74 75 protected DefaultEngineConfigurationFactory(EngineConfigurationFactory factory) 76 { 77 this.factory = factory; 78 } 79 80 84 public DefaultEngineConfigurationFactory() 85 { 86 this(EngineConfigurationFactoryFinder.newFactory()); 87 } 88 89 94 public EngineConfiguration getClientEngineConfig() 95 { 96 return factory == null ? null : factory.getClientEngineConfig(); 97 } 98 99 104 public EngineConfiguration getServerEngineConfig() 105 { 106 return factory == null ? null : factory.getServerEngineConfig(); 107 } 108 } 109 | Popular Tags |