Step 6: Modifying ContextFactoryImpl


For step 6, you must extend AdminContextImpl using an AdminContextImpl_Ext class.

Modify ContextFactoryImpl so that it has an implementation for the new interface method and so that it injects the new context API.

The following text is an example of code that can be added to ContextFactoryImpl.

// Contexts
...
@Inject var _adminContext_Ext : AdminContext_Ext
...
override function getAdminContext_Ext(): AdminContext_Ext {  return _adminContext_Ext  }