Class MongoAotPredicates

java.lang.Object
org.springframework.data.mongodb.aot.MongoAotPredicates

public class MongoAotPredicates extends Object
Collection of predicates to determine dynamic library aspects during AOT computation. Intended for internal usage only.
Since:
4.0
Author:
Christoph Strobl
  • Field Details

  • Constructor Details

    • MongoAotPredicates

      public MongoAotPredicates()
  • Method Details

    • isReactorPresent

      public static boolean isReactorPresent()
      Returns:
      true if the Project Reactor is present.
    • isSyncClientPresent

      public static boolean isSyncClientPresent(@Nullable ClassLoader classLoader)
      Parameters:
      classLoader - can be null.
      Returns:
      true if the MongoClient is present.
      Since:
      4.0
    • isReactiveClientPresent

      public static boolean isReactiveClientPresent(@Nullable ClassLoader classLoader)
      Parameters:
      classLoader - can be null.
      Returns:
      true if the MongoClient is present.
      Since:
      4.3