public interface Configurable
Give the actions a chance to configure itself inside the action class
instead of having to configure the ApplicationManager for every action.
OBS: Although this is pratical as you are doing everything in a single place (inside the action class)
this will tie configuration to code, pretty much like annotations do. It is up to you to decide
which approach (configuration inside the application manager or configuration inside action)
is better for your taste, religion and project.
- Sergio Oliveira
void configure(ApplicationManager appManager)
Copyright © 2013. All Rights Reserved.