Apache CXF API

org.apache.cxf.ws.eventing.shared.handlers
Class SubscriptionReferenceParsingHandler

java.lang.Object
  extended by org.apache.cxf.ws.eventing.shared.handlers.SubscriptionReferenceParsingHandler
All Implemented Interfaces:
Handler<SOAPMessageContext>, SOAPHandler<SOAPMessageContext>

public class SubscriptionReferenceParsingHandler
extends Object
implements SOAPHandler<SOAPMessageContext>

Subscription reference parsing handler is a SOAP handler on the Subscription Manager's side which takes care of parsing the reference parameters and retrieving the subscription ID from SOAP headers before the message is passed to the Subscription Manager itself. In handleMessage method, it is supposed to retrieve the UUID of the subscription and save it into the SOAPMessageContext as a String with the key 'uuid'


Constructor Summary
SubscriptionReferenceParsingHandler()
           
SubscriptionReferenceParsingHandler(String namespace, String elementName)
           
 
Method Summary
 void close(MessageContext context)
           
 Set<QName> getHeaders()
           
 boolean handleFault(SOAPMessageContext context)
           
 boolean handleMessage(SOAPMessageContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubscriptionReferenceParsingHandler

public SubscriptionReferenceParsingHandler(String namespace,
                                           String elementName)

SubscriptionReferenceParsingHandler

public SubscriptionReferenceParsingHandler()
Method Detail

getHeaders

public Set<QName> getHeaders()
Specified by:
getHeaders in interface SOAPHandler<SOAPMessageContext>

handleMessage

public boolean handleMessage(SOAPMessageContext context)
Specified by:
handleMessage in interface Handler<SOAPMessageContext>

handleFault

public boolean handleFault(SOAPMessageContext context)
Specified by:
handleFault in interface Handler<SOAPMessageContext>

close

public void close(MessageContext context)
Specified by:
close in interface Handler<SOAPMessageContext>

Apache CXF API

Apache CXF