
io.helidon.config.MetaConfig__ServiceDescriptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of helidon-config Show documentation
Show all versions of helidon-config Show documentation
Configuration Core module.
The newest version!
/*
* Copyright (c) 2024 Oracle and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.helidon.config;
import java.util.List;
import io.helidon.common.Generated;
import io.helidon.common.types.TypeName;
import io.helidon.service.registry.Dependency;
import io.helidon.service.registry.DependencyContext;
import io.helidon.service.registry.GeneratedService;
/**
* Service descriptor for {@link io.helidon.config.MetaConfig}.
*
* @param type of the service, for extensibility
*/
@Generated(value = "io.helidon.service.codegen.ServiceExtension", trigger = "io.helidon.config.MetaConfig")
public class MetaConfig__ServiceDescriptor implements GeneratedService.Descriptor {
/**
* Global singleton instance for this descriptor.
*/
public static final MetaConfig__ServiceDescriptor INSTANCE = new MetaConfig__ServiceDescriptor<>();
private static final TypeName SERVICE_TYPE = TypeName.create("io.helidon.config.MetaConfig");
private static final TypeName DESCRIPTOR_TYPE = TypeName.create("io.helidon.config.MetaConfig__ServiceDescriptor");
private static final List DEPENDENCIES = List.of();
/**
* Constructor with no side effects
*/
protected MetaConfig__ServiceDescriptor() {
}
@Override
public TypeName serviceType() {
return SERVICE_TYPE;
}
@Override
public TypeName descriptorType() {
return DESCRIPTOR_TYPE;
}
@Override
public MetaConfig instantiate(DependencyContext ctx__helidonRegistry) {
return new MetaConfig();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy