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

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

wpf - C# NAudio - Changing audio playback position still plays a small buffer of old position -