java - Implicit factories in UML sequence diagrams? -


the following sequence diagram models initialisation of ftp server, uses couple of factories (ftpserverfactory , listenerfactory) create required objects. unfortunately said interactions increase complexity of diagram without adding useful insight.

original diagram

i have drawn sequence diagram omitting these factories, , in opinion looks more clear.

simplified diagram

i wonder if it's possible replace <<create>> stereotype (say) <<factory>> stereotype point out objects instantiated factories. also, i'm bit dubious reply messages, if necessary show them or not.

thanks

you have freedom so. serves communicating thoughts fine. should in such cases add comment (if have no common document/glossary it) place note on diagram explaining use of <<factory>> stereotype.


Comments

Popular posts from this blog

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

javascript - Can Piwik report referrer in real time? -