- fetching Spring bean instances from a package's context;
- invoking services; and
- resolving messages1.
Not for use in Gloop
CoreMethods is not exposed in Gloop directly, although if need be, you can use it in
Gloovy steps, calling the method as you would call a regular static method.
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. ↩