|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AddressingProperties
Abstraction of Message Addressing Properties.
Each instance is associated with a particular WS-Addressing schema whose
namespace URI is returned by its getAddressingVersion
method.
The namespace of each key in the underlying map must match this URI and the local names of all the keys must be exactly the names of the Message Addressing Properties defined in that version of the WS-Addressing specification.
Each value in the underlying type must be an instance of AddressingType
whose
WS-Addressing version (determined by its getAddressingVersion
) method must
match the WS-Addressing version associated with the AddressingProperties
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Method Summary | |
---|---|
AttributedURI |
getAction()
Accessor for the Action property. |
EndpointReference |
getFaultTo()
Accessor for the FaultTo property. |
EndpointReference |
getFrom()
Accessor for the From property. |
AttributedURI |
getMessageID()
Accessor for the MessageID property. |
ReferenceParameters |
getReferenceParameters()
Returns a reference to the value of the EndpointReference used to initialize this
AddressingProperties . |
Relationship[] |
getRelatesTo()
Accessor for the RelatesTo property. |
EndpointReference |
getReplyTo()
Accessor for the ReplyTo property. |
AttributedURI |
getTo()
Accessor for the To property. |
void |
initializeAsDestination(EndpointReference ref)
Initializes the properties as a destination using the given EndpointReference . |
void |
initializeAsReply(AddressingProperties props,
boolean isFault)
Initialize this AddressingProperties as a reply to the
given message. |
void |
setAction(AttributedURI iri)
Mutator for the Action property. |
void |
setFaultTo(EndpointReference ref)
Mutator for the FaultTo property. |
void |
setFrom(EndpointReference ref)
Mutator for the From property. |
void |
setMessageID(AttributedURI iri)
Mutator for the MessageID property. |
void |
setRelatesTo(Relationship[] relationship)
Mutator for the RelatatesTo property. |
void |
setReplyTo(EndpointReference ref)
Mutator for the ReplyTo property. |
void |
setTo(AttributedURI iri)
Mutator for the To property. |
Methods inherited from interface javax.xml.ws.addressing.AddressingType |
---|
getNamespaceURI |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Method Detail |
---|
AttributedURI getTo()
void setTo(AttributedURI iri)
iri
- The new value of the property.AttributedURI getAction()
void setAction(AttributedURI iri)
iri
- The new value of the property.AttributedURI getMessageID()
void setMessageID(AttributedURI iri)
iri
- The new value of the property.Relationship[] getRelatesTo()
void setRelatesTo(Relationship[] relationship)
relationship
- The new value of the property.EndpointReference getReplyTo()
void setReplyTo(EndpointReference ref)
ref
- The new value of the property.EndpointReference getFaultTo()
void setFaultTo(EndpointReference ref)
ref
- The new value of the property.EndpointReference getFrom()
void setFrom(EndpointReference ref)
ref
- The new value of the property.ReferenceParameters getReferenceParameters()
EndpointReference
used to initialize this
AddressingProperties
. There will be such an
EndpointReference
when the initializeAsDestination
method or the initializeAsReply
method is used.
void initializeAsDestination(EndpointReference ref)
EndpointReference
. The EndpointReference
and the EndpointReference
.
ref
- The EndpointReference
representing the destination.void initializeAsReply(AddressingProperties props, boolean isFault)
AddressingProperties
as a reply to the
given message. As described in the WS-Addressing Core specification.
The AddressingProperties
and the
props
- The source AddressingProperties
isFault true
if the reply is a Fault message.
false
if the reply is not a Fault message.
AddressingException
- if an error occurs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |