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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
registerMethodHint
(org.springframework.aot.hint.ReflectionHints hints, Method method) RegisterReflectionHints
against the specifiedMethod
.void
registerReflectionHints
(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:
registerReflectionHints
in interfaceorg.springframework.aot.hint.annotation.ReflectiveProcessor
-
registerMethodHint
protected void registerMethodHint(org.springframework.aot.hint.ReflectionHints hints, Method method) RegisterReflectionHints
against the specifiedMethod
.- Parameters:
hints
- the reflection hints instance to usemethod
- the method to process
-