Class MongoAotPredicates
java.lang.Object
org.springframework.data.mongodb.aot.MongoAotPredicates
Collection of
predicates
to determine dynamic library aspects during AOT computation. Intended for
internal usage only.- Since:
- 4.0
- Author:
- Christoph Strobl
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Predicate<ClassLoader>
static final Predicate<ReactiveWrappers.ReactiveLibrary>
static final Predicate<ClassLoader>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isReactiveClientPresent
(ClassLoader classLoader) static boolean
static boolean
isSyncClientPresent
(ClassLoader classLoader)
-
Field Details
-
IS_SIMPLE_TYPE
-
IS_REACTIVE_LIBARARY_AVAILABLE
-
IS_SYNC_CLIENT_PRESENT
-
IS_REACTIVE_CLIENT_PRESENT
-
-
Constructor Details
-
MongoAotPredicates
public MongoAotPredicates()
-
-
Method Details
-
isReactorPresent
public static boolean isReactorPresent()- Returns:
- true if the Project Reactor is present.
-
isSyncClientPresent
- Parameters:
classLoader
- can be null.- Returns:
- true if the
MongoClient
is present. - Since:
- 4.0
-
isReactiveClientPresent
- Parameters:
classLoader
- can be null.- Returns:
- true if the
MongoClient
is present. - Since:
- 4.3
-