Package org.apache.axis2.description
Interface MessageContextListener
-
- All Known Implementing Classes:
UnmarshalMessageContextListener
public interface MessageContextListener
A MessageContextListener is registered on the AxisService. When a ServiceContext is attached to the MessageContext, the attachServiceContextEvent is triggered. When an Envelope is attached to the MessageContext, the attachEnvelopeEvent is triggered. These two events occur at critical points in the message sending or receiving. An implementation of the MessageContextListener may log information, set special properties or trigger events. For example the JAXWS module uses a MessageContextListener to register a JAXBCustomBuilder on the envelope's StAXOMBuilder.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
attachEnvelopeEvent(MessageContext mc)
void
attachServiceContextEvent(ServiceContext sc, MessageContext mc)
-
-
-
Method Detail
-
attachServiceContextEvent
void attachServiceContextEvent(ServiceContext sc, MessageContext mc)
-
attachEnvelopeEvent
void attachEnvelopeEvent(MessageContext mc)
-
-