31.4. Script Bindings


The script engine exposes several internal objects as pre-defined bindings when the script is executed. These are:
  • cache: the cache against which the script is being executed.
  • cacheManager: the cacheManager for the cache.
  • marshaller: the marshaller to use for marshalling/unmarshalling data to the cache.
  • scriptingManager: the instance of the script manager which is being used to run the script. This can be used to run other scripts from a script.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.