[jboss-jira] [JBoss JIRA] Commented: (JBPORTAL-1505) Parameters class may have a "protected" internal Map, for overriding

Julien Viet (JIRA) jira-events at lists.jboss.org
Wed Jul 4 19:43:51 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBPORTAL-1505?page=comments#action_12367734 ] 
            
Julien Viet commented on JBPORTAL-1505:
---------------------------------------

I don't see how the org.jboss.portlet.util.Parameters class is related to CommandFactory class. Can you explain ?

> 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 CR3
>         Environment: JBP2.6 RC3
>            Reporter: Antoine Herzog
>         Assigned To: Julien Viet
>            Priority: Minor
>             Fix For: 2.8 Final, 2.6.1 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