Author: chris.laprun(a)jboss.com
Date: 2008-03-12 01:17:41 -0400 (Wed, 12 Mar 2008)
New Revision: 10266
Modified:
modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/impl/info/ContainerPortletInfo.java
Log:
- Added protected access to constructor and init parameters for easier subclassing.
Modified:
modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/impl/info/ContainerPortletInfo.java
===================================================================
---
modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/impl/info/ContainerPortletInfo.java 2008-03-12
05:13:44 UTC (rev 10265)
+++
modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/impl/info/ContainerPortletInfo.java 2008-03-12
05:17:41 UTC (rev 10266)
@@ -22,13 +22,13 @@
******************************************************************************/
package org.jboss.portal.portlet.impl.info;
+import org.jboss.portal.common.i18n.ResourceBundleManager;
import org.jboss.portal.portlet.info.PortletInfo;
-import org.jboss.portal.common.i18n.ResourceBundleManager;
+import java.util.Collections;
+import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.List;
-import java.util.Collections;
/**
* For now implementation that use the portlet container directly.
@@ -108,7 +108,7 @@
this.security = security;
this.cache = cache;
this.session = session;
- this.events = new ContainerEventingInfo();
+ this.events = new ContainerEventingInfo();
this.navigation = new ContainerNavigationInfo();
this.filterRefs = Collections.emptyList();
this.name = name;
@@ -120,7 +120,7 @@
this.options = Collections.emptyMap();
}
- ContainerPortletInfo(
+ protected ContainerPortletInfo(
ContainerCapabilitiesInfo capabilities,
ContainerPreferencesInfo preferences,
ContainerMetaInfo meta,
@@ -144,7 +144,7 @@
this.security = security;
this.cache = cache;
this.session = session;
- this.events = events;
+ this.events = events;
this.navigation = navigation;
this.filterRefs = filterRefs;
this.name = name;
@@ -191,6 +191,11 @@
return initParameters.get(name);
}
+ protected Map<String, String> getInitParameters()
+ {
+ return initParameters;
+ }
+
public List<String> getFilterRefs()
{
return filterRefs;
Show replies by date