Class HibernateReactiveFeature
java.lang.Object
io.micronaut.starter.feature.testresources.EaseTestingFeature
io.micronaut.starter.feature.database.HibernateReactiveFeature
- All Implemented Interfaces:
io.micronaut.core.naming.Described
,io.micronaut.core.naming.Named
,io.micronaut.core.order.Ordered
,Feature
,JpaFeature
- Direct Known Subclasses:
DataHibernateReactive
,HibernateReactiveJpa
Base feature class for Micronaut Data Hibernate Reactive support,
providing configuration and dependency management for reactive JPA.
-
Field Summary
FieldsFields inherited from interface io.micronaut.starter.feature.database.JpaFeature
JPA_DEFAULT_PROPERTIES_HIBERNATE_CONNECTION_PASSWORD, JPA_DEFAULT_PROPERTIES_HIBERNATE_CONNECTION_URL, JPA_DEFAULT_PROPERTIES_HIBERNATE_CONNECTION_USERNAME, JPA_HIBERNATE_PROPERTIES, JPA_HIBERNATE_PROPERTIES_CONNECTION, JPA_HIBERNATE_PROPERTIES_DIALECT, JPA_HIBERNATE_PROPERTIES_HBM2DDL
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
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)
.Returns the configuration property key used for the Hibernate reactive connection URL.Methods inherited from class io.micronaut.starter.feature.testresources.EaseTestingFeature
processSelectedFeatures
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, getFrameworkDocumentation, getName, getOrder, getThirdPartyDocumentation, getTitle, isCommunity, isPreview, isVisible, processSelectedFeatures, supports
-
Field Details
-
JPA_DEFAULT_REACTIVE
- See Also:
-
IO_VERTX_DEPENDENCY_GROUP
- See Also:
-
-
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. -
getUrlKey
Returns the configuration property key used for the Hibernate reactive connection URL.- Returns:
- the property key for the Hibernate reactive connection URL
-
getCategory
- Specified by:
getCategory
in interfaceFeature
- Returns:
- The Category to which the feature belongs to.
-