KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > axis > configuration > NullProvider


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 at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * 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 and
14  * 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 JavaDoc;
28 import java.util.Hashtable JavaDoc;
29 import java.util.Iterator JavaDoc;
30 import java.util.List JavaDoc;
31
32 /**
33  * A do-nothing ConfigurationProvider
34  *
35  * @author Glen Daniels (gdaniels@apache.org)
36  */

37 public class NullProvider implements EngineConfiguration
38 {
39     public void configureEngine(AxisEngine engine) throws ConfigurationException
40     {
41     }
42
43     public void writeEngineConfig(AxisEngine engine) throws ConfigurationException
44     {
45     }
46
47     public Hashtable JavaDoc 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 JavaDoc encodingStyle) throws ConfigurationException {
64         return null;
65     }
66
67     public Handler getTransport(QName JavaDoc qname) throws ConfigurationException {
68         return null;
69     }
70
71     public SOAPService getService(QName JavaDoc qname) throws ConfigurationException {
72         return null;
73     }
74
75     public SOAPService getServiceByNamespaceURI(String JavaDoc namespace)
76             throws ConfigurationException {
77         return null;
78     }
79
80     public Handler getHandler(QName JavaDoc qname) throws ConfigurationException {
81         return null;
82     }
83
84     /**
85      * Get an enumeration of the services deployed to this engine
86      */

87     public Iterator JavaDoc getDeployedServices() throws ConfigurationException {
88         return null;
89     }
90
91     /**
92      * Get a list of roles that this engine plays globally. Services
93      * within the engine configuration may also add additional roles.
94      *
95      * @return a <code>List</code> of the roles for this engine
96      */

97     public List JavaDoc getRoles() {
98         return null;
99     }
100 }
101
Popular Tags