Class AbstractMessageReceiver

    • Constructor Detail

      • AbstractMessageReceiver

        public AbstractMessageReceiver()
    • Method Detail

      • invokeBusinessLogic

        protected abstract void invokeBusinessLogic​(MessageContext messageCtx)
                                             throws AxisFault
        Do the actual work of the MessageReceiver. Must be overridden by concrete subclasses.
        Parameters:
        messageCtx - active MessageContext
        Throws:
        AxisFault - if a problem occurred
      • makeNewServiceObject

        protected Object makeNewServiceObject​(MessageContext msgContext)
                                       throws AxisFault
        Create a new service object. Override if you want to customize how this happens in your own MessageReceiver.
        Parameters:
        msgContext -
        Returns:
        Returns Object.
        Throws:
        AxisFault
      • getTheImplementationObject

        protected Object getTheImplementationObject​(MessageContext msgContext)
                                             throws AxisFault
        Retrieve the implementation object. This will either return a cached object if present in the ServiceContext, or create a new one via makeNewServiceObject() (and then cache that).
        Parameters:
        msgContext - the active MessageContext
        Returns:
        the appropriate back-end service object.
        Throws:
        AxisFault - if there's a problem