class JvmServiceTargetHabitat {

    private final String                        bizName;

    /**
     * Key as version
     * Value as target bean
     */
    private final Map<String, ServiceComponent> habitat = new ConcurrentHashMap<>();

    public JvmServiceTargetHabitat(String bizName) {
        this.bizName = bizName;
    }

    public void addServiceComponent(String bizVersion, ServiceComponent serviceComponent) {
        habitat.put(bizVersion, serviceComponent);
    }

    public void removeServiceComponent(String bizVersion) {
        habitat.remove(bizVersion);
    }

    public ServiceComponent getServiceComponent(String version) {
        return habitat.get(version);
    }

    public ServiceComponent getDefaultServiceComponent() {<FILL_FUNCTION_BODY>}
}

        for (String bizVersion : habitat.keySet()) {
            if (ArkClient.getBizManagerService().isActiveBiz(bizName, bizVersion)) {
                return habitat.get(bizVersion);
            }
        }
        return null;
    
<no_super_class>