有些时候我们启动虚拟机 会出现 The VMware Authorization Service is not running 正常情况下我们只要进 我的电脑-------> 管理------------------> 服务-------------> 下面把VMware Authorization Service 这个服务手动开启以下就行了 但如果VMware Authorization Service 这个服务不再你的服务列表里,就比较麻烦了,因为这是一个授权服务,没有它,虚拟机
####简单说,就是某个系统作为一个服务,对全局系统可见. Service Locator (服务定位) ``` //简单粗暴的代码, 使用声音系统 // Use a static class? AudioSystem::playSound(VERY_LOUD_BANG); // Or maybe a singleton? AudioSystem::instance()->playSound(VERY_LOUD_BANG); ``` 类比: 如果我换了电话号码,需要通知我所有联系人,我换了电话号