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 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -

java - How can I send the data from a imput type="file" to the controller? -