* JAVA-19545 Move articles from spring-core-2 module to spring-di-3 module * JAVA-19545 Move articles from spring-core-4 module to spring-di-3 module
17 lines
348 B
Java
17 lines
348 B
Java
package com.baeldung.dynamic.autowire;
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
@Service("GBregionService")
|
|
public class GBRegionService implements RegionService {
|
|
@Override
|
|
public boolean isServerActive(int serverId) {
|
|
return false;
|
|
}
|
|
|
|
@Override
|
|
public String getISOCountryCode() {
|
|
return "GB";
|
|
}
|
|
}
|