CoreFunctions
The Core
class contains functions
for performing core utility functions such as:
- fetching Spring bean instances from a package's context;
- invoking services; and
- resolving messages1.
Not for use in Gloop
CoreFunctions
is not exposed in Gloop directly, although if need be, you can use it in Groovy
script steps, calling the function as you would call a regular static function.
Here are sample code usages in Groovy:
1 2 3 |
|
-
See Spring internationalization. ↩