org.apache.axis2.transport.testkit.axis2
Interface TransportDescriptionFactory

All Known Implementing Classes:
SimpleTransportDescriptionFactory

public interface TransportDescriptionFactory

Resource used to create the TransportInDescription and TransportOutDescription objects for a transport under test.

Note that this resource is used on both client and server side. If the transport needs different configurations on client and server side, use AxisTestClientContextConfigurator and/or AxisTestEndpointContextConfigurator.


Method Summary
 org.apache.axis2.description.TransportInDescription createTransportInDescription()
          Create a TransportInDescription for the transport under test.
 org.apache.axis2.description.TransportOutDescription createTransportOutDescription()
           
 

Method Detail

createTransportOutDescription

org.apache.axis2.description.TransportOutDescription createTransportOutDescription()
                                                                                   throws java.lang.Exception
Throws:
java.lang.Exception

createTransportInDescription

org.apache.axis2.description.TransportInDescription createTransportInDescription()
                                                                                 throws java.lang.Exception
Create a TransportInDescription for the transport under test.

Returns:
the transport description
Throws:
java.lang.Exception


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