|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.planets_project.services.utils.test.ServiceCreator
public final class ServiceCreator
Service creation utilities for use when using testing.
Nested Class Summary | |
---|---|
static class |
ServiceCreator.Mode
Modes for creating a service implementation instance. |
Method Summary | ||
---|---|---|
static
|
createTestService(QName qname,
Class<T> serviceImplementation,
String wsdlLoc)
This code handles the grotty details when instanciating a Planets service class for testing. |
|
static
|
createTestService(QName qname,
Class<T> serviceImplementation,
String wsdlLoc,
ServiceCreator.Mode mode)
This code handles the grotty details when instanciating a Planets service class for testing. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <T> T createTestService(QName qname, Class<T> serviceImplementation, String wsdlLoc)
T
- The type of the class to be tested.qname
- The QName of the service interface you want to invoke.serviceImplementation
- The class of your service implementation
that you wish to test.wsdlLoc
- The location of the WSDL, relative to the root server
context. e.g. "/pserv-if-simple/SimpleIdentifyService?wsdl"
public static <T> T createTestService(QName qname, Class<T> serviceImplementation, String wsdlLoc, ServiceCreator.Mode mode)
T
- The type of the class to be tested.qname
- The QName of the service interface you want to invoke.serviceImplementation
- The class of your service implementation
that you wish to test.wsdlLoc
- The location of the WSDL, relative to the root server
context. e.g. "/pserv-if-simple/SimpleIdentifyService?wsdl"mode
- The testing mode to use, e.g. Mode.SERVER
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |