April 2018
Intermediate to advanced
202 pages
4h 48m
English
Registering a module with the application means adding the module's functionality into the application. What this module registration performs depends on the application's requirements. For example, if the application includes a main menu, then a possible registration action for a module is to add menu items to the main menu. If the application is based on tabs, a possible registration action can be adding tabs to the main screen. All these actions need to be performed through a shared API. Take the example of adding a menu item. In this case, a possible interface could be something like the following:
public interface MenuItemRegistration { void addMenuItem(MenuBar menu);}
Modules can implement this ...
Read now
Unlock full access