Package org.hibernate.reactive.tuple
Class MutinyValueGenerator<T>
- java.lang.Object
-
- org.hibernate.reactive.tuple.MutinyValueGenerator<T>
-
- All Implemented Interfaces:
ValueGenerator<T>
public abstract class MutinyValueGenerator<T> extends Object implements ValueGenerator<T>
A reactiveValueGenerator
that gives access to aMutiny.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:
StageValueGenerator
-
-
Constructor Summary
Constructors Constructor Description MutinyValueGenerator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract io.smallrye.mutiny.Uni<T>
generateValue(Mutiny.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 io.smallrye.mutiny.Uni<T> generateValue(Mutiny.Session session, Object owner)
-
-