Search in sources :

Example 1 with HomeData

use of com.tvd12.example.reactive.data.HomeData in project java-examples by tvd12.

the class ReactiveExample method main.

public static void main(String[] args) {
    final EzyBeanContext beanContext = EzyBeanContext.builder().scan("com.tvd12.example.reactive").build();
    final RxHomeController rxHomeController = (RxHomeController) beanContext.getBean(RxHomeController.class);
    final HomeData rxHomeData = rxHomeController.getHomeData();
    System.out.println("rxHomeData: " + rxHomeData);
}
Also used : HomeData(com.tvd12.example.reactive.data.HomeData) EzyBeanContext(com.tvd12.ezyfox.bean.EzyBeanContext)

Aggregations

HomeData (com.tvd12.example.reactive.data.HomeData)1 EzyBeanContext (com.tvd12.ezyfox.bean.EzyBeanContext)1