public class UDDIReplicationImpl extends AuthenticatedService implements UDDIReplicationPortType
AUTHTOKEN_ACTIVE, AUTHTOKEN_RETIRED, baseUrl, baseUrlSSL, ctx, df, UTF8
Constructor and Description |
---|
UDDIReplicationImpl() |
Modifier and Type | Method and Description |
---|---|
String |
doPing(DoPing body)
This UDDI API message provides the means by which the current existence
and replication readiness of a node may be obtained.
|
ChangeRecords |
getChangeRecords(GetChangeRecords body)
The get_changeRecords message is used to initiate the replication of
change records from one node to another.
|
List<ChangeRecordIDType> |
getHighWaterMarks()
This UDDI API message provides a means to obtain a list of
highWaterMark element containing the highest known USN for all nodes
in the replication graph.
|
void |
notifyChangeRecordsAvailable(NotifyChangeRecordsAvailable body)
this means that another node has a change and we need to pick up the
change and apply it to our local database.
|
void |
transferCustody(TransferCustody body)
transfers custody of an entity from node1/user1 to node2/user2
assume this node is node 2.
|
getEntityPublisher, getNode, getRequestorsIPAddress, setContext
public String doPing(DoPing body) throws DispositionReportFaultMessage
UDDIReplicationPortType
doPing
in interface UDDIReplicationPortType
body
- DispositionReportFaultMessage
public ChangeRecords getChangeRecords(GetChangeRecords body) throws DispositionReportFaultMessage, RemoteException
UDDIReplicationPortType
More specifically, the recipient determines the particular change records that are returned by comparing the originating USNs in the caller’s high water mark vector with the originating USNs of each of the changes the recipient has seen from others or generated by itself. The recipient SHOULD only return change records that have originating USNs that are greater than those listed in the changesAlreadySeen highWaterMarkVector and less than the limit required by either the responseLimitCount or the responseLimitVector.
In nodes that support pre-bundled replication responses, the recipient of the get_changeRecords message MAY return more change records than requested by the caller. In this scenario, the caller MUST also be prepared to deal with such redundant changes where a USN is less than the USN specified in the changesAlreadySeen highWaterMarkVector.
The response to a get_changeRecords message is a changeRecords element. Under all circumstances, all change records returned therein by the message recipient MUST be returned sorted in increasing order according to the recipient’s local USN.
A node that is ready to initiate replication of change records held at another node within the registry uses the get_changeRecords message. Part of the message is a high water mark vector that contains for each node of the registry the originating USN of the most recent change record that has been successfully processed by the invocating node. The effect of receiving a get_changeRecords message causes a node to return to the calling node change records it has generated locally and processed from other nodes constrained by the directives of the high water mark vector specified. As such, by invoking get_changeRecords a node obtains from its adjacent node all change records (constrained by the high water mark vector) the adjacent node has generated locally or successfully processed from other nodes participating in the replication topology. What constitutes an adjacent node is governed by the replication communication graph. Replication topology is controlled via a Replication Configuration Structure. Amongst other parameters, the Replication Configuration Structure identifies one unique URL to represent the replication point, soapReplicationURL, of each of the nodes of the registry.
getChangeRecords
in interface UDDIReplicationPortType
DispositionReportFaultMessage
RemoteException
public List<ChangeRecordIDType> getHighWaterMarks() throws DispositionReportFaultMessage
getHighWaterMarks
in interface UDDIReplicationPortType
DispositionReportFaultMessage
public void notifyChangeRecordsAvailable(NotifyChangeRecordsAvailable body) throws DispositionReportFaultMessage
notifyChangeRecordsAvailable
in interface UDDIReplicationPortType
body
- DispositionReportFaultMessage
public void transferCustody(TransferCustody body) throws DispositionReportFaultMessage
transferCustody
in interface UDDIReplicationPortType
body
- DispositionReportFaultMessage
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.