Class ProxyHintsPredicates
java.lang.Object
org.springframework.aot.hint.predicate.ProxyHintsPredicates
Generator of
ProxyHints
predicates, testing whether the given hints
match the expected behavior for proxies.- Since:
- 6.0
- Author:
- Brian Clozel
-
Method Summary
Modifier and TypeMethodDescriptionforInterfaces
(Class<?>... interfaces) Return a predicate that checks whether aJdkProxyHint
is registered for the given interfaces.forInterfaces
(TypeReference... interfaces) Return a predicate that checks whether aJdkProxyHint
is registered for the given interfaces.
-
Method Details
-
forInterfaces
Return a predicate that checks whether aJdkProxyHint
is registered for the given interfaces.Note that the order in which interfaces are given matters.
- Parameters:
interfaces
- the proxied interfaces- Returns:
- the
RuntimeHints
predicate - See Also:
-
forInterfaces
Return a predicate that checks whether aJdkProxyHint
is registered for the given interfaces.Note that the order in which interfaces are given matters.
- Parameters:
interfaces
- the proxied interfaces as type references- Returns:
- the
RuntimeHints
predicate - See Also:
-