[ 
https://issues.apache.org/jira/browse/FTPSERVER-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651010#action_12651010
 ] 

Sai Pullabhotla commented on FTPSERVER-223:
-------------------------------------------

Well, my point was how we can always have a predictable result. This
can only be done by enforcing API users to always pass a linked
hashmap. For example,

changing the FtpServerFactory.setFtplets(final Map<String, Ftplet>
ftplets) to FtpServerFactory.setFtplets(final LinkedHashMap<String,
Ftplet> ftplets).

What do you think about this?

Sai Pullabhotla
Phone: (402) 408-5753
Fax: (402) 408-6861
www.jMethods.com




On Wed, Nov 26, 2008 at 7:58 AM, Niklas Gustavsson (JIRA)


> Provide a way to execute Ftplets in a specific order
> ----------------------------------------------------
>
>                 Key: FTPSERVER-223
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-223
>             Project: FtpServer
>          Issue Type: Improvement
>          Components: Ftplets
>            Reporter: Sai Pullabhotla
>            Assignee: Niklas Gustavsson
>             Fix For: 1.0-M4
>
>
> Currently, there is really no way to determine the order in which the Ftplets 
> are fired. It would be nice to allow - 
> Execution of the Ftplets in the order they were defined in the config file 
> (spring)
> When embedding the server, force the developers to use an implementation of 
> Map which iterates through its items in a predictable manner (e.g. 
> LinkedHashMap or TreeMap). 
> More information on this can be found at http://www.mail-archive.com/[EMAIL 
> PROTECTED]/msg00413.html. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to