In Grails can the flash storage object only be accessed from controllers and views?

Viewed 3796

In Grails the flash storage object is used to hold onto cross request data like messages.

I know that it can be accessed from most Views and Controllers, but I'm not sure if it's available universally across Grails, or if it can only be accessed from certain conventional objects.

Can the flash object be accessed from Services, for instance?

Or even anywhere during a live web request?

What are it's precise limitations in terms of access?

2 Answers
Related