Interface ValueReadHandleFactory
- All Superinterfaces:
ValueHandleFactory
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptiondefault <T> ValueCreateHandle<T> createForConstructor(Constructor<T> constructor) Deprecated.static ValueReadHandleFactoryDeprecated.UseValueHandleFactory.usingJavaLangReflect()instead.static ValueReadHandleFactoryDeprecated.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:
createForConstructorin interfaceValueHandleFactory- Throws:
IllegalAccessException
-
usingJavaLangReflect
Deprecated.UseValueHandleFactory.usingJavaLangReflect()instead.- Returns:
- A factory producing value handles that rely on
java.lang.reflectto 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
MethodHandleto get the value of a field/method.
-
ValueHandleFactoryinstead.