01: package org.vraptor.plugin;
02:
03: import org.vraptor.VRaptorException;
04: import org.vraptor.webapp.WebApplication;
05:
06: /**
07: * A vraptor plugin.
08: *
09: * @author Guilherme Silveira
10: *
11: */
12: public interface VRaptorPlugin {
13:
14: /**
15: * Called after vraptor.xml has been completely parsed to give a chance for
16: * this plugin to do something in the web application
17: *
18: * @param application
19: * the web application
20: * @throws VRaptorException some problem that might occur, stops system startup
21: */
22: void init(WebApplication application) throws VRaptorException;
23:
24: }
|