org.codehaus.activesoap.policy.addressing
Class AddressingContext
java.lang.Object
org.codehaus.activesoap.policy.addressing.AddressingContext
- All Implemented Interfaces:
- ElementContent
- public class AddressingContext
- extends Object
- implements ElementContent
The current WS-Address context for the current invocation context.
- Version:
- $Revision: 1.5 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FaultTo_QNAME
public static final QName FaultTo_QNAME
Action_QNAME
public static final QName Action_QNAME
From_QNAME
public static final QName From_QNAME
Recipient_QNAME
public static final QName Recipient_QNAME
To_QNAME
public static final QName To_QNAME
ReplyTo_QNAME
public static final QName ReplyTo_QNAME
MessageID_QNAME
public static final QName MessageID_QNAME
RelatesTo_QNAME
public static final QName RelatesTo_QNAME
AddressingContext
public AddressingContext()
getContext
public static AddressingContext getContext()
- Returns the current WS-Addressing context of the current thread.
- Returns:
- the current addressing context or null if the current thread has not yet registered a thread local addressing context.
getContext
public static AddressingContext getContext(MessageExchange exchange)
- Returns the current WS-Addressing context of this message exchange,
lazily creating one if none is created yet
setContext
public static void setContext(MessageExchange exchange,
AddressingContext context)
getMessageID
public AttributedURI getMessageID()
setMessageID
public void setMessageID(AttributedURI messageID)
getRelatesTo
public Relationship getRelatesTo()
setRelatesTo
public void setRelatesTo(Relationship relatesTo)
getTo
public AttributedURI getTo()
setTo
public void setTo(AttributedURI to)
getAction
public AttributedURI getAction()
setAction
public void setAction(AttributedURI action)
getFrom
public EndpointReferenceType getFrom()
setFrom
public void setFrom(EndpointReferenceType from)
getReplyTo
public EndpointReferenceType getReplyTo()
setReplyTo
public void setReplyTo(EndpointReferenceType replyTo)
getFaultTo
public EndpointReferenceType getFaultTo()
setFaultTo
public void setFaultTo(EndpointReferenceType faultTo)
getRecipient
public EndpointReferenceType getRecipient()
setRecipient
public void setRecipient(EndpointReferenceType recipient)
addProperty
public void addProperty(QName name,
Object value)
getProperties
public Map getProperties()
setProperties
public void setProperties(Map properties)
writeContent
public void writeContent(AnyElementMarshaler marshaler,
XMLStreamWriter out)
throws XMLStreamException
- Specified by:
writeContent
in interface ElementContent
- Throws:
XMLStreamException
Copyright © 2004-2007 LogicBlaze, Inc.. All Rights Reserved.