use of com.khartec.waltz.data.physical_specification.search.PhysicalSpecificationSearchDao in project waltz by khartec.
the class PhysicalSpecificationHarness method main.
public static void main(String[] args) throws ParseException {
AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(DIConfiguration.class);
DSLContext dsl = ctx.getBean(DSLContext.class);
PhysicalSpecificationSearchDao searcher = ctx.getBean(PhysicalSpecificationSearchDao.class);
searcher.search("sap", EntitySearchOptions.mkForEntity(EntityKind.PHYSICAL_SPECIFICATION)).forEach(ps -> System.out.println(ps.name()));
}
Aggregations