Hello,

I'm interested in ListenerFactory a little bit, as you may know. Ther was no
ListenerFactory in 1.0.0-M3 build therefore I aked question myself why is
there now. First commit message of the class sais: Make listeners immutable
(FTPSERVER-187). The JIRA issue contains no discussion to be informed more
about the reason (which is quite obvious for those who was trying to embed
ftpserver before).

But my question now is - isn't the immutability only an illusion? Calling
ListenerFactory.createListener() more then once produces several instances
of NioListener but these instances share those object instances of
ListenerFactory which are not primitive types. Isn't it? And is it correct?

Jiří Kuhn.

Reply via email to