Package org.hibernate.reactive.tuple
Class StageValueGenerator<T>
- java.lang.Object
-
- org.hibernate.reactive.tuple.StageValueGenerator<T>
-
- All Implemented Interfaces:
ValueGenerator<T>
public abstract class StageValueGenerator<T> extends Object implements ValueGenerator<T>
A reactiveValueGenerator
that gives access to aStage.Session
.This class needs to extend
ValueGenerator
but the non reactive method is ignored by Hibernate Reactive and it will throw anUnsupportedOperationException
if called.- See Also:
MutinyValueGenerator
-
-
Constructor Summary
Constructors Constructor Description StageValueGenerator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract CompletionStage<T>
generateValue(Stage.Session session, Object owner)
T
generateValue(Session session, Object owner)
-
-
-
Method Detail
-
generateValue
public final T generateValue(Session session, Object owner)
- Specified by:
generateValue
in interfaceValueGenerator<T>
-
generateValue
public abstract CompletionStage<T> generateValue(Stage.Session session, Object owner)
-
-