org.apache.axis2.transport.testkit.axis2
Class SimpleTransportDescriptionFactory

java.lang.Object
  extended by org.apache.axis2.transport.testkit.axis2.SimpleTransportDescriptionFactory
All Implemented Interfaces:
TransportDescriptionFactory

public class SimpleTransportDescriptionFactory
extends java.lang.Object
implements TransportDescriptionFactory


Constructor Summary
SimpleTransportDescriptionFactory(java.lang.String name, java.lang.Class<? extends org.apache.axis2.transport.TransportListener> listenerClass, java.lang.Class<? extends org.apache.axis2.transport.TransportSender> senderClass)
           
 
Method Summary
 org.apache.axis2.description.TransportInDescription createTransportInDescription()
          Create a TransportInDescription for the transport under test.
 org.apache.axis2.description.TransportOutDescription createTransportOutDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTransportDescriptionFactory

public SimpleTransportDescriptionFactory(java.lang.String name,
                                         java.lang.Class<? extends org.apache.axis2.transport.TransportListener> listenerClass,
                                         java.lang.Class<? extends org.apache.axis2.transport.TransportSender> senderClass)
Method Detail

createTransportInDescription

public org.apache.axis2.description.TransportInDescription createTransportInDescription()
                                                                                 throws java.lang.Exception
Description copied from interface: TransportDescriptionFactory
Create a TransportInDescription for the transport under test.

Specified by:
createTransportInDescription in interface TransportDescriptionFactory
Returns:
the transport description
Throws:
java.lang.Exception

createTransportOutDescription

public org.apache.axis2.description.TransportOutDescription createTransportOutDescription()
                                                                                   throws java.lang.Exception
Specified by:
createTransportOutDescription in interface TransportDescriptionFactory
Throws:
java.lang.Exception


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