public final class JCacheDetector extends Object
Related issues:
Modifier and Type | Method and Description |
---|---|
static boolean |
isJCacheAvailable(ClassLoader classLoader) |
static boolean |
isJCacheAvailable(ClassLoader classLoader,
ILogger logger) |
public static boolean isJCacheAvailable(ClassLoader classLoader)
public static boolean isJCacheAvailable(ClassLoader classLoader, ILogger logger)
classLoader
- the class loader to use, when attempting to load JCache API classes.logger
- if not null and a pre-v1.0.0 JCache JAR is detected on the classpath,
logs a warning against using this version.true
if JCache 1.0.0 is located in the classpath, otherwise false
.Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.