View Javadoc

1   /**
2    * Copyright 2005-2013 The Kuali Foundation
3    *
4    * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
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.kuali.rice.ksb.messaging.web;
17  
18  import java.util.ArrayList;
19  import java.util.List;
20  
21  import org.apache.struts.action.ActionForm;
22  import org.kuali.rice.ksb.api.bus.ServiceConfiguration;
23  import org.kuali.rice.ksb.api.registry.ServiceInfo;
24  
25  
26  /**
27   * Struts ActionForm for the {@link ServiceRegistryAction}.
28   *
29   * @author Kuali Rice Team (rice.collab@kuali.org)
30   *
31   */
32  public class ServiceRegistryForm extends ActionForm {
33  
34      private static final long serialVersionUID = -6662210181549552182L;
35      
36  	private String methodToCall;
37      private List<ServiceConfiguration> publishedServices = new ArrayList<ServiceConfiguration>();
38      private List<ServiceInfo> globalRegistryServices = new ArrayList<ServiceInfo>();
39  
40      private String myIpAddress;
41      private String myApplicationId;
42      private String myInstanceId;
43      private Boolean devMode;
44      private String removedApplicationId;
45  
46      public String getMethodToCall() {
47          return this.methodToCall;
48      }
49      public void setMethodToCall(String methodToCall) {
50          this.methodToCall = methodToCall;
51      }
52      public List<ServiceInfo> getGlobalRegistryServices() {
53          return this.globalRegistryServices;
54      }
55      public void setGlobalRegistryServices(List<ServiceInfo> globalRegistryServices) {
56          this.globalRegistryServices = globalRegistryServices;
57      }
58      public List<ServiceConfiguration> getPublishedServices() {
59          return this.publishedServices;
60      }
61      public void setPublishedServices(List<ServiceConfiguration> publishedServices) {
62          this.publishedServices = publishedServices;
63      }
64      public String getMyIpAddress() {
65          return this.myIpAddress;
66      }
67      public void setMyIpAddress(String myIpAddress) {
68          this.myIpAddress = myIpAddress;
69      }
70      public String getMyApplicationId() {
71          return this.myApplicationId;
72      }
73      public void setMyApplicationId(String myApplicationId) {
74          this.myApplicationId = myApplicationId;
75      }
76      public String getMyInstanceId() {
77  		return this.myInstanceId;
78  	}
79  	public void setMyInstanceId(String myInstanceId) {
80  		this.myInstanceId = myInstanceId;
81  	}
82  	public Boolean getDevMode() {
83          return this.devMode;
84      }
85      public void setDevMode(Boolean devMode) {
86          this.devMode = devMode;
87      }
88      public String getRemovedApplicationId() {
89          return this.removedApplicationId;
90      }
91      public void setRemovedApplicationId(String removedApplicationId) {
92          this.removedApplicationId = removedApplicationId;
93      }
94  
95  }