Interface ValueReadHandleFactory
-
- All Superinterfaces:
ValueHandleFactory
@Deprecated public interface ValueReadHandleFactory extends ValueHandleFactory
Deprecated.Use/implementValueHandleFactoryinstead.
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default <T> ValueCreateHandle<T>createForConstructor(Constructor<T> constructor)Deprecated.static ValueReadHandleFactoryusingJavaLangReflect()Deprecated.UseValueHandleFactory.usingJavaLangReflect()instead.static ValueReadHandleFactoryusingMethodHandle(MethodHandles.Lookup lookup)Deprecated.-
Methods inherited from interface org.hibernate.search.util.common.reflect.spi.ValueHandleFactory
createForField, createForMethod
-
-
-
-
Method Detail
-
createForConstructor
default <T> ValueCreateHandle<T> createForConstructor(Constructor<T> constructor) throws IllegalAccessException
Deprecated.- Specified by:
createForConstructorin interfaceValueHandleFactory- Throws:
IllegalAccessException
-
usingJavaLangReflect
@Deprecated static ValueReadHandleFactory 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 static ValueReadHandleFactory usingMethodHandle(MethodHandles.Lookup lookup)
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.
-
-