Class HibernateSearchStandalonePreBootState
java.lang.Object
io.quarkus.hibernate.search.standalone.elasticsearch.runtime.HibernateSearchStandalonePreBootState
A class responsible for holding pre-boot state.
This is just a way to circumvent a mismatch between build-time order and static-init order:
- At build time, the build step that records the static-init Hibernate Search pre-boot must execute before build step that defines CDI beans, which itself must execute before the Arc build step that records the CDI container initialization.
- During static init, the CDI container initialization must happen before the Hibernate Search pre-boot. invalid input: '<'/ol Because of this mismatch, we can't rely on passing around the values returned by bytecode recorder between build steps.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HibernateSearchStandalonePreBootState
public HibernateSearchStandalonePreBootState()
-
-
Method Details
-
set
Sets the pre-boot state during static init.- Parameters:
aState- The pre-boot state as generated during static init.
-
pop
Returns and clears the pre-boot state.- Returns:
- The pre-boot state as generated during static init.
-