java.lang.Object
com.oracle.webservices.api.message.BasePropertySet
com.sun.xml.ws.api.pipe.ThrowableContainerPropertySet
- All Implemented Interfaces:
PropertySet
When using
Dispatch
<Packet
> and the invocation completes with a Throwable, it is
useful to be able to inspect the Packet in addition to the Throwable as the Packet contains
meta-data about the request and/or response. However, the default behavior is that the caller
only receives the Throwable.
This PropertySet
is part of the implementation that allows a completing Fiber to return
the Throwable to the caller as part of the Packet.-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.webservices.api.message.BasePropertySet
BasePropertySet.Accessor, BasePropertySet.PropertyMap, BasePropertySet.PropertyMapEntry
Nested classes/interfaces inherited from interface com.oracle.webservices.api.message.PropertySet
PropertySet.Property
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected BasePropertySet.PropertyMap
Map representing the Fields and Methods annotated withPropertySet.Property
.boolean
void
setFaultCreated
(boolean isFaultCreated) void
setFaultMessage
(Message faultMessage) void
setResponsePacket
(Packet responsePacket) void
setThrowable
(Throwable throwable) Methods inherited from class com.oracle.webservices.api.message.BasePropertySet
asMap, containsKey, createEntrySet, createView, get, mapAllowsAdditionalProperties, parse, parse, put, remove, supports
-
Field Details
-
FIBER_COMPLETION_THROWABLE
- See Also:
-
FAULT_MESSAGE
- See Also:
-
RESPONSE_PACKET
- See Also:
-
IS_FAULT_CREATED
- See Also:
-
-
Constructor Details
-
ThrowableContainerPropertySet
-
-
Method Details
-
getThrowable
-
setThrowable
-
getFaultMessage
-
setFaultMessage
-
getResponsePacket
-
setResponsePacket
-
isFaultCreated
public boolean isFaultCreated() -
setFaultCreated
public void setFaultCreated(boolean isFaultCreated) -
getPropertyMap
Description copied from class:BasePropertySet
Map representing the Fields and Methods annotated withPropertySet.Property
. Model ofPropertySet
class.At the end of the derivation chain this method just needs to be implemented as:
private static final PropertyMap model; static { model = parse(MyDerivedClass.class); } protected PropertyMap getPropertyMap() { return model; }
or if the implementation is in different Java module.private static final PropertyMap model; static { model = parse(MyDerivedClass.class, MethodHandles.lookup()); } protected PropertyMap getPropertyMap() { return model; }
- Specified by:
getPropertyMap
in classBasePropertySet
- Returns:
- the map of strongly-typed known properties keyed by property names
-