org.apache.axis2.jaxws.marshaller.impl.alt
Class UnmarshalMessageContextListener
java.lang.Object
org.apache.axis2.jaxws.marshaller.impl.alt.UnmarshalMessageContextListener
- All Implemented Interfaces:
- MessageContextListener
public class UnmarshalMessageContextListener
- extends java.lang.Object
- implements MessageContextListener
This MessageContextListener is triggered when
a ServiceContext is attached to the MessageContext and
when a SOAPEnvelope is attached to the MessageContext.
In such cases, it attempts to get a previously cached (from a prior web service call)
UnmarshalInfo object from the AxisService. The UnmarshalInfo
data is used to create a JAXBCustomBuilder on the SOAPEnvelope's builder.
The net effect is that the StAXOMBuilder will use the JAXBCustomBuilder during
unmarshalling. This saves time and space.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
public static void create(ServiceContext sc)
- Create and add a listener
- Parameters:
sc
- ServiceContext
attachEnvelopeEvent
public void attachEnvelopeEvent(MessageContext mc)
- Specified by:
attachEnvelopeEvent
in interface MessageContextListener
attachServiceContextEvent
public void attachServiceContextEvent(ServiceContext sc,
MessageContext mc)
- Specified by:
attachServiceContextEvent
in interface MessageContextListener
Copyright ? 2007 Apache Web Services Project. All Rights Reserved.