Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.axis2.description
Interface MessageContextListener

    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
`void` | `attachEnvelopeEvent(MessageContext mc)`
`void` | `attachServiceContextEvent(ServiceContext sc, MessageContext mc)`

Method Detail

### attachServiceContextEvent

    void attachServiceContextEvent(ServiceContext sc,
                                   MessageContext mc)

### attachEnvelopeEvent

    void attachEnvelopeEvent(MessageContext mc)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.