org.codehaus.xfire.spring
Class AbstractXFireSpringTest

java.lang.Object
  extended by TestCase
      extended by org.codehaus.xfire.test.AbstractXFireTest
          extended by org.codehaus.xfire.aegis.AbstractXFireAegisTest
              extended by org.codehaus.xfire.spring.AbstractXFireSpringTest

public abstract class AbstractXFireSpringTest
extends AbstractXFireAegisTest

Provides test support for XFire spring web services. Simply supply your ApplicationContext by implementing the createContext method.

Author:
Dan Diephouse

Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.xfire.test.AbstractXFireTest
AbstractXFireTest.CopySerializer
 
Field Summary
 
Fields inherited from class org.codehaus.xfire.test.AbstractXFireTest
RESPONSE
 
Constructor Summary
AbstractXFireSpringTest()
           
 
Method Summary
protected abstract  ApplicationContext createContext()
           
protected  java.lang.Object getBean(java.lang.String id)
           
protected  ApplicationContext getContext()
           
 ServiceFactory getServiceFactory()
           
protected  XFire getXFire()
           
 void setUp()
           
 
Methods inherited from class org.codehaus.xfire.test.AbstractXFireTest
addNamespace, assertInvalid, assertNoFault, assertValid, assertXPathEquals, createSession, getBasedir, getResourceAsReader, getResourceAsStream, getServiceRegistry, getSession, getTestFile, getTransportManager, getWSDL, getWSDLDocument, getXFireProxyFactory, invokeService, invokeService, printNode, readDocument, readDocument, setServiceFactory, stringNode, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractXFireSpringTest

public AbstractXFireSpringTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class AbstractXFireAegisTest
Throws:
java.lang.Exception
See Also:
junit.framework.TestCase#setUp()

createContext

protected abstract ApplicationContext createContext()

getContext

protected ApplicationContext getContext()

getServiceFactory

public ServiceFactory getServiceFactory()
Overrides:
getServiceFactory in class AbstractXFireTest

getXFire

protected XFire getXFire()
Overrides:
getXFire in class AbstractXFireTest

getBean

protected java.lang.Object getBean(java.lang.String id)


Copyright © 2004-2006 Envoi Solutions LLC. All Rights Reserved.