public class SoapRefRegistry extends Object
| Constructor and Description |
|---|
SoapRefRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInstance(String id,
Object instance)
Add an object instance to the registry.
|
void |
addRef(String id,
SoapRef soapRef)
Adds a reference to the specified id.
|
static SoapRefRegistry |
get(Context context)
Get the SoapRefRegistry stored in the context, and if necessary create a new one.
|
Set<String> |
getIds()
Gets the ids of the registered object instances.
|
SortedMap<String,List<SoapRef>> |
getUnresolvedRefs()
Gets the unresolved SOAP references by referenced id.
|
public static SoapRefRegistry get(Context context)
context - the unmarshal contextpublic void addInstance(String id, Object instance)
id - the unique identifier of the instanceinstance - the instanceDatabindingException - if another object instance is already registered with the idpublic void addRef(String id, SoapRef soapRef)
id - the id of the referenced object instancesoapRef - the reference to setpublic Set<String> getIds()
Apache CXF