import org.osgi.service.component.annotations.Reference;
import org.osgi.service.component.annotations.ReferenceCardinality;
import org.osgi.service.component.annotations.ReferencePolicy;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
<BUG>import org.wso2.carbon.kernel.CarbonRuntime;
import org.wso2.carbon.kernel.configresolver.ConfigResolver;</BUG>
import org.wso2.carbon.kernel.internal.context.CarbonRuntimeFactory;
import java.util.Optional;
@Component(

import org.osgi.service.component.annotations.Reference;
import org.osgi.service.component.annotations.ReferenceCardinality;
import org.osgi.service.component.annotations.ReferencePolicy;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.wso2.carbon.kernel.CarbonRuntime;
import org.wso2.carbon.kernel.configprovider.ConfigProvider;
import org.wso2.carbon.kernel.configresolver.ConfigResolver;
import org.wso2.carbon.kernel.internal.context.CarbonRuntimeFactory;
import java.util.Optional;
@Component(
