Convenient superclass for application objects that want to be aware of the application context, e.g. for custom lookup of collaborating object or for context-specific resource access.
For a list of all members of this type, see ApplicationObjectSupport Members .
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
It saves the application context reference and provides an initialization callback method. Furthermore, it offers numerous convenience methods for message lookup.
There is no requirement to subclass this class: it just makes things a little easier if you need access to the context, e.g. for access to file resources or to the message source. Note that many application objects do not need to be aware of the application context at all, as they can receive collaborating objects via object references.
Assembly: Spring.Core (in Spring.Core.dll)