001/** 002 * Copyright 2005-2015 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.kuali.rice.ksb.messaging.web; 017 018import java.util.ArrayList; 019import java.util.List; 020 021import org.apache.struts.action.ActionForm; 022import org.kuali.rice.ksb.api.bus.ServiceConfiguration; 023import org.kuali.rice.ksb.api.registry.ServiceInfo; 024 025 026/** 027 * Struts ActionForm for the {@link ServiceRegistryAction}. 028 * 029 * @author Kuali Rice Team (rice.collab@kuali.org) 030 * 031 */ 032public class ServiceRegistryForm extends ActionForm { 033 034 private static final long serialVersionUID = -6662210181549552182L; 035 036 private String methodToCall; 037 private List<ServiceConfiguration> publishedServices = new ArrayList<ServiceConfiguration>(); 038 private List<ServiceInfo> globalRegistryServices = new ArrayList<ServiceInfo>(); 039 040 private String myIpAddress; 041 private String myApplicationId; 042 private String myInstanceId; 043 private Boolean devMode; 044 private String removedApplicationId; 045 046 public String getMethodToCall() { 047 return this.methodToCall; 048 } 049 public void setMethodToCall(String methodToCall) { 050 this.methodToCall = methodToCall; 051 } 052 public List<ServiceInfo> getGlobalRegistryServices() { 053 return this.globalRegistryServices; 054 } 055 public void setGlobalRegistryServices(List<ServiceInfo> globalRegistryServices) { 056 this.globalRegistryServices = globalRegistryServices; 057 } 058 public List<ServiceConfiguration> getPublishedServices() { 059 return this.publishedServices; 060 } 061 public void setPublishedServices(List<ServiceConfiguration> publishedServices) { 062 this.publishedServices = publishedServices; 063 } 064 public String getMyIpAddress() { 065 return this.myIpAddress; 066 } 067 public void setMyIpAddress(String myIpAddress) { 068 this.myIpAddress = myIpAddress; 069 } 070 public String getMyApplicationId() { 071 return this.myApplicationId; 072 } 073 public void setMyApplicationId(String myApplicationId) { 074 this.myApplicationId = myApplicationId; 075 } 076 public String getMyInstanceId() { 077 return this.myInstanceId; 078 } 079 public void setMyInstanceId(String myInstanceId) { 080 this.myInstanceId = myInstanceId; 081 } 082 public Boolean getDevMode() { 083 return this.devMode; 084 } 085 public void setDevMode(Boolean devMode) { 086 this.devMode = devMode; 087 } 088 public String getRemovedApplicationId() { 089 return this.removedApplicationId; 090 } 091 public void setRemovedApplicationId(String removedApplicationId) { 092 this.removedApplicationId = removedApplicationId; 093 } 094 095}