A
SOAPMT implementation that forwards all requests
to a static
SOAPMT instance.
The static is used because the WSDD registered in the
org.cougaar.core.service.WebServicesService specifies
the SOAPMT classname instead of our
SOAPLinkProtocol instance. We use the static to hook
the two together, otherwise the SOAP engine wouldn't have
a pointer back into our Cougaar LinkProtocol instance.
The static is fine, since link protocols typically have
a per-node receiver instance (i.e. a "NodeServant").
This is analagous to the webtomcat module's "HookServlet".
Note that we can't use a ThreadLocal, since the classname
is only instantiated when a call is received, not when we
register the WSDD.
|