Interface ValueReadHandleFactory
- All Superinterfaces:
ValueHandleFactory
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptiondefault <T> ValueCreateHandle
<T> createForConstructor
(Constructor<T> constructor) Deprecated.static ValueReadHandleFactory
Deprecated.UseValueHandleFactory.usingJavaLangReflect()
instead.static ValueReadHandleFactory
Deprecated.Methods inherited from interface org.hibernate.search.util.common.reflect.spi.ValueHandleFactory
createForField, createForMethod
-
Method Details
-
createForConstructor
default <T> ValueCreateHandle<T> createForConstructor(Constructor<T> constructor) throws IllegalAccessException Deprecated.- Specified by:
createForConstructor
in interfaceValueHandleFactory
- Throws:
IllegalAccessException
-
usingJavaLangReflect
Deprecated.UseValueHandleFactory.usingJavaLangReflect()
instead.- Returns:
- A factory producing value handles that rely on
java.lang.reflect
to get the value of a field/method, i.eMethod.invoke(Object, Object...)
andField.get(Object)
.
-
usingMethodHandle
Deprecated.- Parameters:
lookup
- A lookup with sufficient access rights to access all relevant fields and methods.- Returns:
- A factory producing value handles that rely on
MethodHandle
to get the value of a field/method.
-
ValueHandleFactory
instead.