TCP109Adapterpublic final class TCP109Adapter extends com.sun.xml.ws.transport.tcp.server.TCPAdapter
Fields Summary |
---|
private final ServletFakeArtifactSet | servletFakeArtifactSetCurrently 109 deployed WS's pipeline relies on Servlet request and response
attributes. So its temporary workaround to make 109 work with TCP | private final boolean | isEJB | private final String | contextRoot |
Methods Summary |
---|
protected TCPAdapter.TCPToolkit | createToolkit()
return new TCP109Toolkit();
| public void | handle(com.sun.xml.ws.transport.tcp.util.ChannelContext channelContext)
EjbRuntimeEndpointInfo ejbRuntimeEndpointInfo = null;
if (isEJB) {
ejbRuntimeEndpointInfo = AppServWSRegistry.getInstance().
getEjbRuntimeEndpointInfo(contextRoot, getValidPath());
try {
ejbRuntimeEndpointInfo.prepareInvocation(true);
} catch (Exception e) {
throw new IOException(e.getClass().getName());
}
}
try {
super.handle(channelContext);
} finally {
if (isEJB && ejbRuntimeEndpointInfo != null) {
ejbRuntimeEndpointInfo.releaseImplementor();
}
}
|
|