1 16 package org.apache.axis.ime.event; 17 18 import org.apache.axis.MessageContext; 19 import org.apache.axis.ime.MessageExchangeCorrelator; 20 import org.apache.axis.ime.MessageExchangeEvent; 21 22 import java.io.Serializable ; 23 24 31 public abstract class MessageCorrelatedEvent 32 implements MessageExchangeEvent, Serializable { 33 34 protected MessageExchangeCorrelator correlator; 35 protected MessageContext context; 36 37 public MessageCorrelatedEvent( 38 MessageExchangeCorrelator correlator) { 39 this.correlator = correlator; 40 } 41 42 public MessageCorrelatedEvent( 43 MessageExchangeCorrelator correlator, 44 MessageContext context) { 45 this.correlator = correlator; 46 this.context = context; 47 } 48 49 public MessageExchangeCorrelator getMessageExchangeCorrelator() { 50 return correlator; 51 } 52 53 public MessageContext getMessageContext() { 54 return context; 55 } 56 } 57 | Popular Tags |