Class ElasticsearchEntitlementChecker

java.lang.Object
org.elasticsearch.entitlement.runtime.api.ElasticsearchEntitlementChecker
All Implemented Interfaces:
EntitlementChecker

public class ElasticsearchEntitlementChecker extends Object implements EntitlementChecker
ElasticsearchEntitlementChecker relies on preview features of the Java platform:
Programs can only use ElasticsearchEntitlementChecker when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Implementation of the EntitlementChecker interface with each method implemented as a one-liner call into PolicyChecker. In effect, for each instrumented, this indicates the kind of check to perform; the actual checking logic is in PolicyChecker. The bridge module loads this object via SPI.