1 /*2 * Copyright 2001-2004 The Apache Software Foundation.3 * 4 * Licensed under the Apache License, Version 2.0 (the "License");5 * you may not use this file except in compliance with the License.6 * You may obtain a copy of the License at7 * 8 * http://www.apache.org/licenses/LICENSE-2.09 * 10 * Unless required by applicable law or agreed to in writing, software11 * distributed under the License is distributed on an "AS IS" BASIS,12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13 * See the License for the specific language governing permissions and14 * limitations under the License.15 */16 17 package org.apache.axis.configuration;18 19 import org.apache.axis.AxisEngine;20 import org.apache.axis.ConfigurationException;21 import org.apache.axis.EngineConfiguration;22 import org.apache.axis.Handler;23 import org.apache.axis.encoding.TypeMapping;24 import org.apache.axis.encoding.TypeMappingRegistry;25 import org.apache.axis.handlers.soap.SOAPService;26 27 import javax.xml.namespace.QName ;28 import java.util.Hashtable ;29 import java.util.Iterator ;30 import java.util.List ;31 32 /**33 * A do-nothing ConfigurationProvider34 *35 * @author Glen Daniels (gdaniels@apache.org)36 */37 public class NullProvider implements EngineConfiguration38 {39 public void configureEngine(AxisEngine engine) throws ConfigurationException40 {41 }42 43 public void writeEngineConfig(AxisEngine engine) throws ConfigurationException44 {45 }46 47 public Hashtable getGlobalOptions() throws ConfigurationException {48 return null;49 }50 51 public Handler getGlobalResponse() throws ConfigurationException {52 return null;53 }54 55 public Handler getGlobalRequest() throws ConfigurationException {56 return null;57 }58 59 public TypeMappingRegistry getTypeMappingRegistry() throws ConfigurationException {60 return null;61 }62 63 public TypeMapping getTypeMapping(String encodingStyle) throws ConfigurationException {64 return null;65 }66 67 public Handler getTransport(QName qname) throws ConfigurationException {68 return null;69 }70 71 public SOAPService getService(QName qname) throws ConfigurationException {72 return null;73 }74 75 public SOAPService getServiceByNamespaceURI(String namespace)76 throws ConfigurationException {77 return null;78 }79 80 public Handler getHandler(QName qname) throws ConfigurationException {81 return null;82 }83 84 /**85 * Get an enumeration of the services deployed to this engine86 */87 public Iterator getDeployedServices() throws ConfigurationException {88 return null;89 }90 91 /**92 * Get a list of roles that this engine plays globally. Services93 * within the engine configuration may also add additional roles.94 *95 * @return a <code>List</code> of the roles for this engine96 */97 public List getRoles() {98 return null;99 }100 }101