org.apache.axis2.jaxws.context.listener
Class ProviderOMContextListener

java.lang.Object
  extended by 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.


Constructor Summary
ProviderOMContextListener()
           
 
Method Summary
 void attachEnvelopeEvent(MessageContext mc)
           
 void attachServiceContextEvent(ServiceContext sc, MessageContext mc)
           
static void create(ServiceContext sc)
          Create and add a listener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProviderOMContextListener

public ProviderOMContextListener()
Method Detail

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.