Used Used Used Demo +main() ServiceLocator -mCache Cache +getService(serviceName) : Service Cache -List<Service> mServices +Cache() +getService(serviceName) : Service +addService(service) : void InitialContext +lookUpService(serviceName) : Service «interface» Service +getName() : String +execute() : void SercviceOne SercviceTwo SercviceN 卡券特惠