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 © 2016 Hazelcast, Inc.. All Rights Reserved.