(Quick Reference)

11.5 Injecting Resource Resolution Behavior - Reference Documentation

Authors: Andres Almiray

Version: 1.2.0

11.5 Injecting Resource Resolution Behavior

Any component may gain the ability to resolve messages through the application's ResourceResolver. You only need annotate the class with griffon.transform.ResourceResolverAware and it will automatically gain all methods exposed by ResourceResolver.

This feature is just a shortcut to avoid reaching for the application instance from objects that do not hold a reference to it.