View Javadoc

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