how to call service inside service layer
- by cometta
in my service layer
public class MyServiceLayerImpl{
@Autowired
MyServiceInterface MyServiceLayer
}
if i have method inside service layer that need to call another service inside service layer. i cannot use this._method ,because, i'm using AOP for caching. In order for the caching to work, i have to use @Autowired to get the service. Therefore, is the above style ok?