1 16 package org.apache.axis.ime.internal; 17 18 import org.apache.axis.MessageContext; 19 import org.apache.axis.ime.MessageExchangeCorrelator; 20 import org.apache.axis.ime.MessageExchangeEventListener; 21 22 33 public final class MessageExchangeSendContext 34 extends MessageExchangeReceiveContext { 35 36 public static MessageExchangeSendContext newInstance( 37 MessageExchangeCorrelator correlator, 38 MessageContext context, 39 MessageExchangeEventListener listener) { 40 MessageExchangeSendContext mectx = 41 new MessageExchangeSendContext(); 42 mectx.correlator = correlator; 43 mectx.context = context; 44 mectx.listener = listener; 45 return mectx; 46 } 47 48 protected MessageContext context; 49 50 protected MessageExchangeSendContext() {} 51 52 public MessageContext getMessageContext() { 53 return this.context; 54 } 55 56 } 57 | Popular Tags |