Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 567 Bytes

File metadata and controls

27 lines (19 loc) · 567 Bytes

Modules

Modules provide a way to extend parts of your applications without the need of adding these one by one.

Writing Modules

A module just needs to implement the Module interface, like in the following example:

public class ExampleModule implements Module {
    // overwrite methods of the interface
}

Usage

public class ExampleApp extends WebApplication {
    protected void setupModules() {
        addModule(new ExampleModule());
    }
}

Community Modules