Class TieHandler

  • All Implemented Interfaces:
    EndpointCallBridge

    public final class TieHandler
    extends Object
    implements EndpointCallBridge

    This class mainly performs the following two tasks:

    1. Takes a Message that represents a request, and extracts the arguments (and updates Holders.)
    2. Accepts return value and Holder arguments for a Java method, and creates JAXBMessage that represents a response message.

    Creating JAXBMessage

    At the construction time, we prepare EndpointArgumentsBuilder that knows how to create endpoint Method invocation arguments. we also prepare EndpointResponseMessageBuilder and MessageFillers that know how to move arguments into a Message. Some arguments go to the payload, some go to headers, still others go to attachments.

    Author:
    Jitendra Kotamraju, shih-chang.chen@oracle.com Refactored from EndpointMethodHandler