View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.transport.soap.axis.mock;
8   
9   import java.util.Hashtable;
10  import java.util.Iterator;
11  import java.util.List;
12  
13  import javax.xml.namespace.QName;
14  
15  import org.apache.axis.AxisEngine;
16  import org.apache.axis.ConfigurationException;
17  import org.apache.axis.EngineConfiguration;
18  import org.apache.axis.Handler;
19  import org.apache.axis.encoding.TypeMappingRegistry;
20  import org.apache.axis.handlers.soap.SOAPService;
21  
22  public class MockEngineConfiguration extends Object implements EngineConfiguration
23  {
24      public void configureEngine(AxisEngine engine) throws ConfigurationException
25      {
26          // don't do it
27      }
28  
29      public Iterator<?> getDeployedServices() throws ConfigurationException
30      {
31          return null;
32      }
33  
34      public Hashtable<?, ?> getGlobalOptions() throws ConfigurationException
35      {
36          return null;
37      }
38  
39      public Handler getGlobalRequest() throws ConfigurationException
40      {
41          return null;
42      }
43  
44      public Handler getGlobalResponse() throws ConfigurationException
45      {
46          return null;
47      }
48  
49      public Handler getHandler(QName qname) throws ConfigurationException
50      {
51          return null;
52      }
53  
54      public List<?> getRoles()
55      {
56          return null;
57      }
58  
59      public SOAPService getService(QName qname) throws ConfigurationException
60      {
61          return null;
62      }
63  
64      public SOAPService getServiceByNamespaceURI(String namespace) throws ConfigurationException
65      {
66          return null;
67      }
68  
69      public Handler getTransport(QName qname) throws ConfigurationException
70      {
71          return null;
72      }
73  
74      public TypeMappingRegistry getTypeMappingRegistry() throws ConfigurationException
75      {
76          return null;
77      }
78  
79      public void writeEngineConfig(AxisEngine engine) throws ConfigurationException
80      {
81          // does nothing
82      }
83  }
84  
85