org.apache.axis2.jaxws.context.listener
Class ProviderOMContextListener
java.lang.Object
org.apache.axis2.jaxws.context.listener.ProviderOMContextListener
- All Implemented Interfaces:
- MessageContextListener
public class ProviderOMContextListener
- extends Object
- implements MessageContextListener
This is a MessageContextListener that installs ParserInputStreamCustomBuilder
during an Envelope or ServiceContext event on AxisService. The installed
ParserInputStreamCustomBuilder is then used by StAXSoapModelBuilder to create
OMSourcedElement for payload data from Soap body.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProviderOMContextListener
public ProviderOMContextListener()
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 © 2004-2012 The Apache Software Foundation. All Rights Reserved.