Search in sources :

Example 1 with InvolvementService

use of org.finos.waltz.service.involvement.InvolvementService in project waltz by khartec.

the class InvolvementHarness method main.

public static void main(String[] args) throws InterruptedException {
    AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(DIConfiguration.class);
    DSLContext dsl = ctx.getBean(DSLContext.class);
    DataSource dataSource = ctx.getBean(DataSource.class);
    InvolvementDao dao = ctx.getBean(InvolvementDao.class);
    InvolvementService service = ctx.getBean(InvolvementService.class);
    System.out.println("-- Waiting ...");
    // Thread.sleep(5000);
    System.out.println("-- Starting ...");
// viaJdbc(dataSource);
// viaJooqSql(dsl);
// viaJooqOrig(dsl);
// viaJooqJoins(dsl);
// viaJooqSql(dsl);
// viaDao(dao);
// viaJdbc(dataSource);
}
Also used : AnnotationConfigApplicationContext(org.springframework.context.annotation.AnnotationConfigApplicationContext) InvolvementService(org.finos.waltz.service.involvement.InvolvementService) InvolvementDao(org.finos.waltz.data.involvement.InvolvementDao) DataSource(javax.sql.DataSource)

Aggregations

DataSource (javax.sql.DataSource)1 InvolvementDao (org.finos.waltz.data.involvement.InvolvementDao)1 InvolvementService (org.finos.waltz.service.involvement.InvolvementService)1 AnnotationConfigApplicationContext (org.springframework.context.annotation.AnnotationConfigApplicationContext)1