interface Module1Service{
}
interface Module2Service{
}
@ServiceProvider
class Module1ServiceImpl : Module1Service{
var service = AppJoint.service(Module2Service.class)
}
@ServiceProvider
class Module2ServiceImpl : Module2Service{
var service = AppJoint.service(Module1Service.class)
}
如此就死循环了~