This project has retired. For details please refer to its Attic page.
ReplicantImpl xref
View Javadoc
1   /*
2    * Copyright 2014 The Apache Software Foundation.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.apache.juddi.api.runtime;
17  
18  import java.math.BigInteger;
19  import java.rmi.RemoteException;
20  import java.util.List;
21  import javax.jws.WebService;
22  import org.uddi.repl_v3.ChangeRecord;
23  import org.uddi.repl_v3.ChangeRecordIDType;
24  import org.uddi.repl_v3.ChangeRecords;
25  import org.uddi.repl_v3.DoPing;
26  import org.uddi.repl_v3.GetChangeRecords;
27  import org.uddi.repl_v3.HighWaterMarkVectorType;
28  import org.uddi.repl_v3.NotifyChangeRecordsAvailable;
29  import org.uddi.repl_v3.TransferCustody;
30  import org.uddi.v3_service.DispositionReportFaultMessage;
31  import org.uddi.v3_service.UDDIReplicationPortType;
32  
33  /**
34   *
35   * @author alex
36   */
37  @WebService(serviceName = "UDDI_Replication_PortType", targetNamespace = "urn:uddi-org:repl_v3_portType",
38          endpointInterface = "org.uddi.v3_service.UDDIReplicationPortType")
39                public class ReplicantImpl implements UDDIReplicationPortType {
40        
41          public ReplicantImpl(){
42          }
43  
44      
45  
46          @Override
47          public void notifyChangeRecordsAvailable(NotifyChangeRecordsAvailable body) throws DispositionReportFaultMessage, RemoteException {
48                  CLIServerTest.sink = true;
49          }
50  
51          @Override
52          public String doPing(DoPing body) throws DispositionReportFaultMessage, RemoteException {
53                  CLIServerTest.sink = true;
54                  return null;
55          }
56  
57          @Override
58          public List<ChangeRecordIDType> getHighWaterMarks() throws DispositionReportFaultMessage, RemoteException {
59                  CLIServerTest.sink = true;
60                  return null;
61          }
62  
63          @Override
64          public void transferCustody(TransferCustody body) throws DispositionReportFaultMessage, RemoteException {
65                  CLIServerTest.sink = true;
66          }
67  
68          @Override
69          public ChangeRecords getChangeRecords(GetChangeRecords body) throws DispositionReportFaultMessage, RemoteException {
70                      CLIServerTest.sink = true;
71                  return null;
72          }
73          
74  }