|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttest.TestImpl
@Copyright public class TestImpl
Test service implementation. Note that it is not necessary for the implementation to implement the interface. In fact, this is not possible in this case because of various differences between the interface and the implementation. For example, deploy throws an exception, but the interface does not.
| Field Summary | |
|---|---|
static java.lang.String |
defaultServiceLocation
The default deployment URL. |
| Constructor Summary | |
|---|---|
TestImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
deploy(boolean setFail,
Deploy deploy)
The fail method. |
double |
deploy(int instanceCount,
Logo logo)
The deploy method. |
void |
signal(double weight)
The signal method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String defaultServiceLocation
| Constructor Detail |
|---|
public TestImpl()
| Method Detail |
|---|
@RequestWrapper(localName="deploy",
targetNamespace="http://test",
className="test.Deploy")
@ResponseWrapper(localName="deployResponse",
targetNamespace="http://test",
className="test.DeployResponse")
public double deploy(int instanceCount,
Logo logo)
throws java.lang.Exception
instanceCount - The number of instances to deploy.logo - A text-based logo.
java.lang.Exception - if the deployment fails.
@RequestWrapper(localName="fail",
targetNamespace="http://test",
className="test.Fail")
@ResponseWrapper(localName="failResponse",
targetNamespace="http://test",
className="test.FailResponse")
public java.lang.String deploy(boolean setFail,
Deploy deploy)
setFail - The failure mode to be set.deploy - The deployment data.
@RequestWrapper(localName="signal",
targetNamespace="http://test",
className="test.Signal")
public void signal(double weight)
weight - The weight.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||