org.kuali.student.common.test.spring
Class AbstractServiceTest

java.lang.Object
  extended by org.kuali.student.common.test.spring.AbstractServiceTest

Deprecated.

@Deprecated
public abstract class AbstractServiceTest
extends Object

This test will start a jetty server and deploy the service define in the @Client. It will also initialize a client based on the annotations in the @Client Service implementation class. Also passes the @Daos and @PersistenceFileLocation to system properties from the annotations.

Extend this class and set the

@PersistenceFileLocation defines the persistence.xml location if it is named something else.

@Daos is a list of @Dao annotations. These define the Dao implementation classes, and an optional application context that contains a list of beans that should be persisted. The list bean should be called "persistList". A sql file that should be loaded can also be defined here with the testSqlFile parameter. This should be a sql file.

@Client requires the name of the service implementation class which should be annotated with the @WebService and have the targetNamespace and serviceName set.

@Client can also take the following additional settings

Example:


Constructor Summary
AbstractServiceTest()
          Deprecated.  
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractServiceTest

public AbstractServiceTest()
Deprecated. 


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.