Search in sources :

Example 1 with Routine

use of io.wring.agents.Routine in project wring by yegor256.

the class Entrance method main.

/**
 * Main entry point.
 * @param args Arguments
 * @throws IOException If fails
 */
public static void main(final String... args) throws IOException {
    final Base base = new DyBase();
    try (final Routine routine = new Routine(base)) {
        routine.start();
        new FtCli(new TkApp(base), args).start(Exit.NEVER);
    }
}
Also used : FtCli(org.takes.http.FtCli) DyBase(io.wring.dynamo.DyBase) Routine(io.wring.agents.Routine) TkApp(io.wring.tk.TkApp) DyBase(io.wring.dynamo.DyBase) Base(io.wring.model.Base)

Aggregations

Routine (io.wring.agents.Routine)1 DyBase (io.wring.dynamo.DyBase)1 Base (io.wring.model.Base)1 TkApp (io.wring.tk.TkApp)1 FtCli (org.takes.http.FtCli)1