001
014
015 package com.liferay.portlet;
016
017 import java.util.HashMap;
018 import java.util.Map;
019
020 import javax.portlet.PortletURLGenerationListener;
021 import javax.portlet.filter.PortletFilter;
022
023
026 public class PortletContextBag {
027
028 public PortletContextBag(String servletContextName) {
029 _servletContextName = servletContextName;
030 }
031
032 public String getServletContextName() {
033 return _servletContextName;
034 }
035
036 public Map<String, CustomUserAttributes> getCustomUserAttributes() {
037 return _customUserAttributes;
038 }
039
040 public Map<String, PortletFilter> getPortletFilters() {
041 return _portletFilters;
042 }
043
044 public Map<String, PortletURLGenerationListener> getPortletURLListeners() {
045 return _urlListeners;
046 }
047
048 private String _servletContextName;
049 private Map<String, CustomUserAttributes> _customUserAttributes =
050 new HashMap<String, CustomUserAttributes>();
051 private Map<String, PortletFilter> _portletFilters =
052 new HashMap<String, PortletFilter>();
053 private Map<String, PortletURLGenerationListener> _urlListeners =
054 new HashMap<String, PortletURLGenerationListener>();
055
056 }