001: /*
002: * Copyright 2007 The Kuali Foundation
003: *
004: * Licensed under the Educational Community License, Version 1.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/ecl1.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: */
016: package edu.iu.uis.eden.messaging.web;
017:
018: import java.util.ArrayList;
019: import java.util.List;
020:
021: import org.apache.struts.action.ActionForm;
022:
023: import edu.iu.uis.eden.messaging.ServiceInfo;
024:
025: /**
026: * Struts ActionForm for the {@link ServiceRegistryAction}.
027: *
028: * @author Kuali Rice Team (kuali-rice@googlegroups.com)
029: *
030: */
031: public class ServiceRegistryForm extends ActionForm {
032:
033: private String methodToCall;
034: private List<ServiceInfo> publishedServices = new ArrayList<ServiceInfo>();
035: private List<ServiceInfo> publishedTempServices = new ArrayList<ServiceInfo>();
036: private List<ServiceInfo> globalRegistryServices = new ArrayList<ServiceInfo>();
037:
038: private String myIpAddress;
039: private String myMessageEntity;
040: private Boolean devMode;
041:
042: public String getMethodToCall() {
043: return this .methodToCall;
044: }
045:
046: public void setMethodToCall(String methodToCall) {
047: this .methodToCall = methodToCall;
048: }
049:
050: public List<ServiceInfo> getGlobalRegistryServices() {
051: return this .globalRegistryServices;
052: }
053:
054: public void setGlobalRegistryServices(
055: List<ServiceInfo> globalRegistryServices) {
056: this .globalRegistryServices = globalRegistryServices;
057: }
058:
059: public List<ServiceInfo> getPublishedServices() {
060: return this .publishedServices;
061: }
062:
063: public void setPublishedServices(List<ServiceInfo> publishedServices) {
064: this .publishedServices = publishedServices;
065: }
066:
067: public List<ServiceInfo> getPublishedTempServices() {
068: return this .publishedTempServices;
069: }
070:
071: public void setPublishedTempServices(
072: List<ServiceInfo> publishedTempServices) {
073: this .publishedTempServices = publishedTempServices;
074: }
075:
076: public String getMyIpAddress() {
077: return this .myIpAddress;
078: }
079:
080: public void setMyIpAddress(String myIpAddress) {
081: this .myIpAddress = myIpAddress;
082: }
083:
084: public String getMyMessageEntity() {
085: return this .myMessageEntity;
086: }
087:
088: public void setMyMessageEntity(String myMessageEntity) {
089: this .myMessageEntity = myMessageEntity;
090: }
091:
092: public Boolean getDevMode() {
093: return this .devMode;
094: }
095:
096: public void setDevMode(Boolean devMode) {
097: this.devMode = devMode;
098: }
099:
100: }
|