[jboss-jira] [JBoss JIRA] Updated: (JBPORTAL-1505) Parameters class may have a "protected" internal Map, for overriding
Thomas Heute (JIRA)
jira-events at lists.jboss.org
Tue Aug 28 06:55:18 EDT 2007
[ http://jira.jboss.com/jira/browse/JBPORTAL-1505?page=all ]
Thomas Heute updated JBPORTAL-1505:
-----------------------------------
Fix Version/s: (was: 2.6.2 Final)
> Parameters class may have a "protected" internal Map, for overriding
> --------------------------------------------------------------------
>
> Key: JBPORTAL-1505
> URL: http://jira.jboss.com/jira/browse/JBPORTAL-1505
> Project: JBoss Portal
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Portal Core
> Affects Versions: 2.6 Final, 2.6.1 Final
> Environment: JBP2.6 RC3
> Reporter: Antoine Herzog
> Assigned To: Julien Viet
> Priority: Minor
> Fix For: 2.8 Final
>
>
> The class org.jboss.portlet.util.Parameters has a
> private Map parameters;
> put it with protected :
> protected Map parameters;
> so access it possible when overriding this class.
> Example of needs :
> - overriding the the Parameters class to provide access to the collection, etc...
> - use of our own TotoParameters, inheriting from Parameters, to work it with specific features
> for debugging... log what is in it (the Parameters class provide nothing to get the collection of key, the size() etc...)
> and when overriding and modifying some CommandFactory and URLFactory
> Turnaround : I use a ParametersHelper, to fill the Map of params, manipulate it, debug...
> and just before to pass it to the portal (end of CommandFactory doMapping method), I build a Parameters instance from it.
> It is ok in this use case, but overriding the class would be much better.
> Thanks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list