Writing a Loader

As previously mentioned, a loader class provides information that can be displayed in the CCV. Typically, a loader is written for each leaf node of the root node in the CCV. For example, there are specific loaders for each of the leaf node categories including, Care And Protection, Communities, Family, and Dealings. These loaders gather all of the data for these categories. All loader classes must extend the ContextNode abstract class. A listener of ContextNodeRootEvent can be implemented to add new loaders to the existing set of CCV loaders via the method setChildNodesForContextType(Map<CONTEXT_TYPEEntry, ContextCategory> contextCategory)