@Documented @Retention(value=RUNTIME) @Target(value={TYPE,METHOD,CONSTRUCTOR,FIELD,PACKAGE}) public @interface NoJexl
This allows to completely hide a package, class, interface, constructor, method or field from JEXL; a NoJexl annotated element will not be usable through any kind of JEXL expression or script.
SeeJexlPermissions
for the general mechanism to restrict
what JEXL allows in scripts.
See JexlSandbox
for another way to further constrain JEXL access.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.