- 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
def bean = 'emailClient'.bean() def parameters = [ 'firstName': 'John', 'lastName': 'Doe' ] def response = "service".invoke(parameters)
See Spring internationalization. ↩