Class AbstractMicronautServerFeature
java.lang.Object
io.micronaut.starter.feature.server.AbstractMicronautServerFeature
- All Implemented Interfaces:
io.micronaut.core.naming.Described
,io.micronaut.core.naming.Named
,io.micronaut.core.order.Ordered
,Feature
,OneOfFeature
,OpenRewriteFeature
,MicronautRuntimeFeature
,ServerFeature
- Direct Known Subclasses:
AbstractServletFeature
,HttpPoja
,Netty
public abstract class AbstractMicronautServerFeature
extends Object
implements ServerFeature, MicronautRuntimeFeature, OpenRewriteFeature
Base class for Micronaut server features that integrates
server-specific capabilities with Micronaut runtime features.
-
Field Summary
Fields inherited from interface io.micronaut.starter.feature.MicronautRuntimeFeature
PROPERTY_MICRONAUT_RUNTIME
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(GeneratorContext generatorContext) If this method is called for a given feature that means the feature was explicitly selected, included by default as a result ofDefaultFeature.shouldApply(io.micronaut.starter.options.Options, java.util.Set)
, or added explicitly by another feature throughFeatureContext.addFeature(Feature)
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.naming.Described
getDescription
Methods inherited from interface io.micronaut.projectgen.core.feature.Feature
getDescription, getName, getOrder, getTitle, isCommunity, isPreview, isVisible, processSelectedFeatures
Methods inherited from interface io.micronaut.starter.feature.MicronautRuntimeFeature
addMicronautRuntimeBuildProperty, resolveMicronautRuntime
Methods inherited from interface io.micronaut.projectgen.core.openrewrite.OpenRewriteFeature
getFrameworkDocumentation, getRecipes, getThirdPartyDocumentation, processRecipes
Methods inherited from interface io.micronaut.starter.feature.server.ServerFeature
getCategory, getFeatureClass, supports
-
Constructor Details
-
AbstractMicronautServerFeature
public AbstractMicronautServerFeature()
-
-
Method Details
-
apply
Description copied from interface:Feature
If this method is called for a given feature that means the feature was explicitly selected, included by default as a result ofDefaultFeature.shouldApply(io.micronaut.starter.options.Options, java.util.Set)
, or added explicitly by another feature throughFeatureContext.addFeature(Feature)
. At this point the feature list is set and cannot change.- Specified by:
apply
in interfaceFeature
- Specified by:
apply
in interfaceOpenRewriteFeature
- Parameters:
generatorContext
- THe generator context
-