org.mentawai.core
Interface Configurable
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.
- Author:
- Sergio Oliveira
configure
void configure(ApplicationManager appManager)
Copyright © 2012. All Rights Reserved.