org.apache.axis2.transport
Class UtilsTransportServer

java.lang.Object
  extended by org.apache.axis2.transport.UtilsTransportServer

public class UtilsTransportServer
extends java.lang.Object

Base class for transport util servers used in unit testing


Constructor Summary
UtilsTransportServer()
           
 
Method Summary
 void addTransport(org.apache.axis2.description.TransportInDescription trpInDesc)
           
 void addTransport(org.apache.axis2.description.TransportInDescription trpInDesc, org.apache.axis2.description.TransportOutDescription trpDescOut)
           
 void deployEchoService(java.lang.String name, java.util.List<org.apache.axis2.description.Parameter> parameters)
          Deploy the standard Echo service with the custom parameters passed in
 void enableAddressing()
           
 org.apache.axis2.engine.AxisConfiguration getAxisConfiguration()
           
 org.apache.axis2.context.ConfigurationContext getConfigurationContext()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UtilsTransportServer

public UtilsTransportServer()
                     throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault
Method Detail

addTransport

public void addTransport(org.apache.axis2.description.TransportInDescription trpInDesc,
                         org.apache.axis2.description.TransportOutDescription trpDescOut)
                  throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

addTransport

public void addTransport(org.apache.axis2.description.TransportInDescription trpInDesc)
                  throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

start

public void start()
           throws java.lang.Exception
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Throws:
java.lang.Exception

enableAddressing

public void enableAddressing()
                      throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

getConfigurationContext

public org.apache.axis2.context.ConfigurationContext getConfigurationContext()

getAxisConfiguration

public org.apache.axis2.engine.AxisConfiguration getAxisConfiguration()

deployEchoService

public void deployEchoService(java.lang.String name,
                              java.util.List<org.apache.axis2.description.Parameter> parameters)
                       throws java.lang.Exception
Deploy the standard Echo service with the custom parameters passed in

Parameters:
name - the service name to assign
parameters - the parameters for the service
Throws:
java.lang.Exception


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.