与其把类命名为ABCService, 不如叫AbcService ABC是个专有名词,一般情况下对应的service应该叫做ABCService; 然而,我建议还是叫AbcService,否则对应的实例名会很别扭:
private ABCService abcService; public void setAbcService(ABCService abcService) { this.abcService = abcService; }