Package org.springframework.shell
Class AvailabilityReflectiveProcessor
java.lang.Object
org.springframework.shell.AvailabilityReflectiveProcessor
- All Implemented Interfaces:
org.springframework.aot.hint.annotation.ReflectiveProcessor
public final class AvailabilityReflectiveProcessor
extends Object
implements org.springframework.aot.hint.annotation.ReflectiveProcessor
A
ReflectiveProcessor implementation that registers methods of a
return type Availability from a target which is a class.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidregisterMethodHint(org.springframework.aot.hint.ReflectionHints hints, Method method) RegisterReflectionHintsagainst the specifiedMethod.voidregisterReflectionHints(org.springframework.aot.hint.ReflectionHints hints, AnnotatedElement element)
-
Constructor Details
-
AvailabilityReflectiveProcessor
public AvailabilityReflectiveProcessor()
-
-
Method Details
-
registerReflectionHints
public void registerReflectionHints(org.springframework.aot.hint.ReflectionHints hints, AnnotatedElement element) - Specified by:
registerReflectionHintsin interfaceorg.springframework.aot.hint.annotation.ReflectiveProcessor
-
registerMethodHint
protected void registerMethodHint(org.springframework.aot.hint.ReflectionHints hints, Method method) RegisterReflectionHintsagainst the specifiedMethod.- Parameters:
hints- the reflection hints instance to usemethod- the method to process
-