com.sun.xml.ws.server.sei
Class TieHandler
java.lang.Object
com.sun.xml.ws.server.sei.TieHandler
- All Implemented Interfaces:
- EndpointCallBridge
public final class TieHandler
- extends Object
- implements EndpointCallBridge
This class mainly performs the following two tasks:
- Takes a Message] that represents a request,
and extracts the arguments (and updates {@link Holder}s.)
- Accepts return value and {@link Holder} arguments for a Java method,
and creates {@link JAXBMessage} that represents a response message.
Creating {@link JAXBMessage}
At the construction time, we prepare {@link EndpointArgumentsBuilder} that knows how to create endpoint {@link Method}
invocation arguments.
we also prepare {@link EndpointResponseMessageBuilder} and {@link MessageFiller}s
that know how to move arguments into a {@link Message}.
Some arguments go to the payload, some go to headers, still others go to attachments.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
packetFactory
protected MessageContextFactory packetFactory
TieHandler
public TieHandler(JavaMethodImpl method,
WSBinding binding,
MessageContextFactory mcf)
readRequest
public Object[] readRequest(Message reqMsg)
createResponse
public Message createResponse(JavaCallInfo call)
getServiceException
Throwable getServiceException(Throwable throwable)
getMethod
public Method getMethod()
deserializeRequest
public JavaCallInfo deserializeRequest(Packet req)
- Specified by:
deserializeRequest
in interface EndpointCallBridge
serializeResponse
public Packet serializeResponse(JavaCallInfo call)
- Specified by:
serializeResponse
in interface EndpointCallBridge
getOperationModel
public JavaMethod getOperationModel()
- Specified by:
getOperationModel
in interface EndpointCallBridge
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.