1
2
3
4
5 package gboat2.example.service.impl;
6
7 import gboat2.base.core.logging.IBusinessLogService;
8 import gboat2.example.business.IExampleRoleBusiness;
9 import gboat2.example.service.IExampleService;
10
11 import org.springframework.beans.factory.annotation.Autowired;
12 import org.springframework.stereotype.Service;
13
14
15
16
17
18
19
20 @Service
21 public class ExampleServiceImpl implements IExampleService {
22 @Autowired
23 protected IExampleRoleBusiness roleBusiness;
24
25 @Autowired
26 protected IBusinessLogService logService;
27
28 public void test() {
29 System.out.println("产品 Bundle 中 ServiceImpl:logService=" + logService + ", roleBusiness=" + roleBusiness);
30 }
31 }