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.
i have drawn sequence diagram omitting these factories, , in opinion looks more clear.
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
Post a Comment