Search in sources :

Example 1 with ActorDao

use of org.finos.waltz.data.actor.ActorDao in project waltz by khartec.

the class ActorHarness method main.

public static void main(String[] args) throws ParseException {
    AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(DIConfiguration.class);
    ActorDao actorDao = ctx.getBean(ActorDao.class);
    boolean b = actorDao.deleteIfNotUsed(681);
    System.out.println(b);
}
Also used : AnnotationConfigApplicationContext(org.springframework.context.annotation.AnnotationConfigApplicationContext) ActorDao(org.finos.waltz.data.actor.ActorDao)

Aggregations

ActorDao (org.finos.waltz.data.actor.ActorDao)1 AnnotationConfigApplicationContext (org.springframework.context.annotation.AnnotationConfigApplicationContext)1