001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017: package org.apache.pluto.descriptors.servlet;
018:
019: import org.apache.pluto.descriptors.common.IconDD;
020:
021: import java.util.ArrayList;
022: import java.util.List;
023:
024: /**
025: * Filter DD() uration as contained within the
026: * web.xml Deployment Descriptor.
027: *
028: * @version $Id: ServletDD.java 156743 2005-03-10 05:50:30Z ddewolf $
029: * @since Feb 28, 2005
030: */
031: public class ServletDD {
032:
033: private String servletName;
034: private String servletClass;
035: private String displayName;
036: private String description;
037: private String jspFile;
038: private LoadOnStartupDD loadOnStartup;
039:
040: private IconDD icon;
041: private List initParams = new ArrayList();
042: private List securityRoleRefs = new ArrayList();
043:
044: public ServletDD() {
045:
046: }
047:
048: public String getServletName() {
049: return servletName;
050: }
051:
052: public void setServletName(String servletName) {
053: this .servletName = servletName;
054: }
055:
056: public String getServletClass() {
057: return servletClass;
058: }
059:
060: public void setServletClass(String servletClass) {
061: this .servletClass = servletClass;
062: }
063:
064: public String getDisplayName() {
065: return displayName;
066: }
067:
068: public void setDisplayName(String displayName) {
069: this .displayName = displayName;
070: }
071:
072: public String getJspFile() {
073: return jspFile;
074: }
075:
076: public void setJspFile(String jspFile) {
077: this .jspFile = jspFile;
078: }
079:
080: public LoadOnStartupDD getLoadOnStartup() {
081: return loadOnStartup;
082: }
083:
084: public void setLoadOnStartup(LoadOnStartupDD loadOnStartup) {
085: this .loadOnStartup = loadOnStartup;
086: }
087:
088: public String getDescription() {
089: return description;
090: }
091:
092: public void setDescription(String description) {
093: this .description = description;
094: }
095:
096: public IconDD getIcon() {
097: return icon;
098: }
099:
100: public void setIcon(IconDD icon) {
101: this .icon = icon;
102: }
103:
104: public List getInitParams() {
105: return initParams;
106: }
107:
108: public void setInitParams(List initParams) {
109: this .initParams = initParams;
110: }
111:
112: public List getSecurityRoleRefs() {
113: return securityRoleRefs;
114: }
115:
116: public void setSecurityRoleRefs(List securityRoleRefs) {
117: this.securityRoleRefs = securityRoleRefs;
118: }
119:
120: }
|