View Javadoc

1   /*
2    * Copyright 2007 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  
45      public String getMethodToCall() {
46          return this.methodToCall;
47      }
48      public void setMethodToCall(String methodToCall) {
49          this.methodToCall = methodToCall;
50      }
51      public List<ServiceInfo> getGlobalRegistryServices() {
52          return this.globalRegistryServices;
53      }
54      public void setGlobalRegistryServices(List<ServiceInfo> globalRegistryServices) {
55          this.globalRegistryServices = globalRegistryServices;
56      }
57      public List<ServiceConfiguration> getPublishedServices() {
58          return this.publishedServices;
59      }
60      public void setPublishedServices(List<ServiceConfiguration> publishedServices) {
61          this.publishedServices = publishedServices;
62      }
63      public String getMyIpAddress() {
64          return this.myIpAddress;
65      }
66      public void setMyIpAddress(String myIpAddress) {
67          this.myIpAddress = myIpAddress;
68      }
69      public String getMyApplicationId() {
70          return this.myApplicationId;
71      }
72      public void setMyApplicationId(String myApplicationId) {
73          this.myApplicationId = myApplicationId;
74      }
75      public String getMyInstanceId() {
76  		return this.myInstanceId;
77  	}
78  	public void setMyInstanceId(String myInstanceId) {
79  		this.myInstanceId = myInstanceId;
80  	}
81  	public Boolean getDevMode() {
82          return this.devMode;
83      }
84      public void setDevMode(Boolean devMode) {
85          this.devMode = devMode;
86      }
87  
88  }