Class SoapRef
java.lang.Object
org.apache.cxf.aegis.type.encoded.SoapRef
SoapRef represents an encoded SOAP 1.1 href or SOAP 1.2 ref object. This data class is updated when the ref
is resolved which can be immedately when the ref is resolved, or later when an instance with the referenced
id is unmarshalled.
When the reference is resolved, an optional Action will be invoked which is commonly used to update a
property on the source object of the reference.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SoapRef
public SoapRef()
-
-
Method Details
-
get
Gets the referenced object instance or null if the reference has not been resolved yet;- Returns:
- the referenced object instance or null
-
set
Sets the referenced object instance. If an action is registered the onSet method is invoked.- Parameters:
object- the reference instance; not null
-
setAction
Registers an action to invoke when the instance is set. If the instance, has already been set, the onSet method will immedately be invoked.
-