Package org.elasticsearch.entitlement.bridge


package org.elasticsearch.entitlement.bridge
Contains classes that need to be used directly from instrumented methods. It's a minimal shim that is patched into the java.base module so that it is callable from the class library methods instrumented by the agent. The shim retains a InstrumentationRegistry instance (inside its InstrumentationRegistryHandle holder) and forwards the entitlement checks to the main library, that exists in the system classloader. InstrumentationRegistry holds all the entitlements check definitions, one for each instrumented method.