Class WebServerStarterService__ServiceDescriptor<T extends io.helidon.webserver.WebServerStarterService>
java.lang.Object
io.helidon.webserver.WebServerStarterService__ServiceDescriptor<T>
- Type Parameters:
T- type of the service, for extensibility
- All Implemented Interfaces:
Weighted, ServiceDescriptor<T>, ServiceInfo, Comparable<Weighted>
public class WebServerStarterService__ServiceDescriptor<T extends io.helidon.webserver.WebServerStarterService>
extends Object
implements ServiceDescriptor<T>
Service descriptor for
WebServerStarterService.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DependencyInjection point dependency for WebServerStarterService(LoomServer server), parameter server.static final WebServerStarterService__ServiceDescriptor<io.helidon.webserver.WebServerStarterService> Global singleton instance for this descriptor.Fields inherited from interface Weighted
DEFAULT_WEIGHTModifier and TypeFieldDescriptionstatic final doubleDefault weight for any weighted component (whether it implements this interface or usesWeightannotation). -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor with no side effects -
Method Summary
Modifier and TypeMethodDescriptionList of dependencies required by this service.Type of the service descriptor (usually generated).io.helidon.webserver.WebServerStarterServiceinstantiate(DependencyContext ctx__helidonInject, InterceptionMetadata interceptMeta__helidonInject) Create a new service instance.voidpostConstruct(io.helidon.webserver.WebServerStarterService instance) InvokeService.PostConstructannotated method(s).voidpreDestroy(io.helidon.webserver.WebServerStarterService instance) InvokeService.PreDestroyannotated method(s).runLevel()Run level of this service.scope()Scope of this service.Type of the service this descriptor describes.typeSet(ResolvedType contract) Provide a mapping of a contracts of this service to its contract type set.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ServiceDescriptor
injectModifier and TypeMethodDescriptiondefault voidinject(DependencyContext ctx, InterceptionMetadata interceptionMetadata, Set<String> injected, T instance) Inject fields and methods.Methods inherited from interface ServiceInfo
contracts, factoryContracts, factoryType, isAbstract, providedType, qualifiersModifier and TypeMethodDescriptiondefault Set<ResolvedType> Set of contracts the described service implements or provides through a factory method.default Set<ResolvedType> Set of contracts that identify the factory provider itself.default FactoryTypeWhat factory type is the described service.default booleanReturnstruefor abstract classes and interfaces, returnsfalseby default.default TypeNameThe type that implementsServiceInfo.contracts().Service qualifiers.
-
Field Details
-
INSTANCE
public static final WebServerStarterService__ServiceDescriptor<io.helidon.webserver.WebServerStarterService> INSTANCEGlobal singleton instance for this descriptor. -
DEP_0
Injection point dependency for WebServerStarterService(LoomServer server), parameter server.
-
-
Constructor Details
-
WebServerStarterService__ServiceDescriptor
protected WebServerStarterService__ServiceDescriptor()Constructor with no side effects
-
-
Method Details
-
serviceType
Description copied from interface:ServiceInfoType of the service this descriptor describes.- Specified by:
serviceTypein interfaceServiceInfo- Returns:
- service type
-
descriptorType
Description copied from interface:ServiceInfoType of the service descriptor (usually generated).- Specified by:
descriptorTypein interfaceServiceInfo- Returns:
- descriptor type
-
scope
Description copied from interface:ServiceDescriptorScope of this service.- Specified by:
scopein interfaceServiceDescriptor<T extends io.helidon.webserver.WebServerStarterService>- Specified by:
scopein interfaceServiceInfo- Returns:
- scope of the service
-
typeSet
Description copied from interface:ServiceDescriptorProvide a mapping of a contracts of this service to its contract type set. If the result is empty, it will be ignored.- Specified by:
typeSetin interfaceServiceDescriptor<T extends io.helidon.webserver.WebServerStarterService>- Parameters:
contract- contract to get types for- Returns:
- type map for each type that is a contract of this service
-
dependencies
Description copied from interface:ServiceInfoList of dependencies required by this service. These may be injection points as constructor parameters, fields, or setter methods.- Specified by:
dependenciesin interfaceServiceInfo- Returns:
- required dependencies
-
instantiate
public io.helidon.webserver.WebServerStarterService instantiate(DependencyContext ctx__helidonInject, InterceptionMetadata interceptMeta__helidonInject) Description copied from interface:ServiceDescriptorCreate a new service instance.- Specified by:
instantiatein interfaceServiceDescriptor<T extends io.helidon.webserver.WebServerStarterService>- Parameters:
ctx__helidonInject- dependency context with all dependencies of this serviceinterceptMeta__helidonInject- metadata handler for interception- Returns:
- a new instance, must be of the type T or a subclass
-
postConstruct
public void postConstruct(io.helidon.webserver.WebServerStarterService instance) Description copied from interface:ServiceDescriptorInvokeService.PostConstructannotated method(s).- Specified by:
postConstructin interfaceServiceDescriptor<T extends io.helidon.webserver.WebServerStarterService>- Parameters:
instance- instance to use
-
preDestroy
public void preDestroy(io.helidon.webserver.WebServerStarterService instance) Description copied from interface:ServiceDescriptorInvokeService.PreDestroyannotated method(s).- Specified by:
preDestroyin interfaceServiceDescriptor<T extends io.helidon.webserver.WebServerStarterService>- Parameters:
instance- instance to use
-
runLevel
Description copied from interface:ServiceInfoRun level of this service.- Specified by:
runLevelin interfaceServiceInfo- Returns:
- run level
-