接口的使用
com.firefly.example.ioc.FooService
-
使用FooService的程序包 程序包 说明 com.firefly.example.ioc -
-
com.firefly.example.ioc中FooService的使用
实现FooService的com.firefly.example.ioc中的类 修饰符和类型 类 说明 classFooServiceImpl返回FooService的com.firefly.example.ioc中的方法 修饰符和类型 方法 说明 FooServiceBarService. getFooService()FooServiceBarServiceImpl. getFooService()参数类型为FooService的com.firefly.example.ioc中的方法 修饰符和类型 方法 说明 voidBarServiceImpl. setFooService(FooService fooService)
-