01: /* Copyright 2004 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.container.om.servlet;
07:
08: import java.io.Serializable;
09:
10: import org.apache.pluto.om.common.DescriptionSet;
11:
12: /**
13: * Data structure to support WebApplicationDefinition for
14: * marshalling and unmarshalling of web.xml.
15: * Not needed by the Pluto container.
16: * @author Ken Weiner, kweiner@unicon.net
17: * @version $Revision: 34757 $
18: */
19: public class WebResourceCollectionImpl implements Serializable {
20:
21: private String webResourceName;
22: private DescriptionSet descriptions;
23: private String[] urlPatterns;
24: private String[] httpMethods;
25:
26: public WebResourceCollectionImpl() {
27: }
28:
29: public String getWebResourceName() {
30: return webResourceName;
31: }
32:
33: public DescriptionSet getDescriptions() {
34: return descriptions;
35: }
36:
37: public String[] getUrlPatterns() {
38: return urlPatterns;
39: }
40:
41: public String[] getHttpMethods() {
42: return httpMethods;
43: }
44:
45: public void setWebResourceName(String webResourceName) {
46: this .webResourceName = webResourceName;
47: }
48:
49: public void setDescriptions(DescriptionSet descriptions) {
50: this .descriptions = descriptions;
51: }
52:
53: public void setUrlPatterns(String[] urlPatterns) {
54: this .urlPatterns = urlPatterns;
55: }
56:
57: public void setHttpMethods(String[] httpMethods) {
58: this.httpMethods = httpMethods;
59: }
60:
61: }
|