|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.student.common.test.spring.AbstractServiceTest
@Deprecated public abstract class AbstractServiceTest
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 |
---|
public AbstractServiceTest()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |