Question from the Spring test

Archived

The following code

public class interface AddressResolver{...}


@Component
public class GoogleMapAddressResolver implements AddressResolver{
  //...
}
 
@Component
public class CustomMapAddressResolver implements AddressResolver{
   //...
}
 
@Service
public class AddressService{
      
    @Autowired
    private AddressResolver addressResolver;
  //...
}
Author: W3D TeamStatus: Archived(New question!)Question passed 968 times
-1
Community EvaluationsNo one has reviewed this question yet, be the first!