package apes.controllers; /** * This class contains stuff common to all controllers. All controllers, other * than {@link ActionController ActionController}, should extend this class. * * @author Johan Andersson (johandy@student.chalmers.se) */ public abstract class ApplicationController extends ActionController { /** * If there's an event connected that is to be called by the component name * and there's no method with the same name, this method is called. Override * it in your controllers to implement a special behavior in these cases. */ public void methodMissing() {} /** * Is called before an action is called. * * @exception Exception If an exception is thrown. If an exception is thrown. * The action method will never be called. */ public void beforeFilter() throws Exception {} /** * Is called after an action is called. */ public void afterFilter() {} }