01: /**
02: * @author <a href="mailto:novotny@gridsphere.org">Jason Novotny</a>
03: * @version $Id: PortletServiceCollection.java 6385 2007-10-25 14:02:26Z wehrens $
04: */package org.gridsphere.portlet.service.spi.impl.descriptor;
05:
06: import java.util.List;
07: import java.util.Vector;
08:
09: /**
10: * The <code>SportletServiceCollection</code> provides a list of
11: * <code>SportletServiceDefinition</code> entries.
12: */
13: public class PortletServiceCollection {
14:
15: private List<PortletServiceDefinition> servicesList = new Vector<PortletServiceDefinition>();
16:
17: /**
18: * Sets the list of portlet service definitions
19: *
20: * @param servicesList a <code>Vector</code> containing
21: * portlet service definitions
22: * @see PortletServiceDefinition
23: */
24: public void setPortletServicesList(
25: List<PortletServiceDefinition> servicesList) {
26: this .servicesList = servicesList;
27: }
28:
29: /**
30: * Returns the list of portlet service definitions
31: *
32: * @return a list containing the portlet service definitions
33: * @see PortletServiceDefinition
34: */
35: public List<PortletServiceDefinition> getPortletServicesList() {
36: return servicesList;
37: }
38:
39: }
|