I'm currently having a hard time with creating a component diagram that should represent a certain type of component/interface dependency and hope that you can give me some hints. As background, I only started learning UML and software engineering some weeks ago, so I assume that I just have a thinking barrier and/or am doing things more complicated than necessary.
Assume I have a "virtual" component Services. In this component I want to collect and model all services my system may offer. Next, I have a component Admin which (at this level) may use (and hence depend on) any of the services provided by Services. Last but not least there is a component User which may only use one specific service that is already known. Would this be properly represented by the attached component diagram? If not, how would it be properly represented? Would you just indicate that User also depends on the Services port and model the conrete interface dependency in a different diagram? Is a dependency from Admin to the Services port the proper way of showing the dependency to the "virtual" Services interface or would it be better to just show a dependency to the Services component?
Thank you for your help & patience