김대성

Vaadin Korea Meetup

#1 in pangyo

"놀라운 웹 응용 프로그램을 쉽게 만들 수 있게 하는 것"

goal

eazy

Quest

Quest

Quest

** Picture

못다한 이야기 #1

"모던 자바 웹 UI 바딘 프레임워크"

Quality

Time is money!

Environment

import com.google.common.eventbus.EventBus;
import com.google.common.eventbus.SubscriberExceptionContext;
import com.google.common.eventbus.SubscriberExceptionHandler;
import com.vaadin.demo.dashboard.DashboardUI;


public class DashboardEventBus implements SubscriberExceptionHandler {

    private final EventBus eventBus = new EventBus(this);

    public static void post(final Object event) {
        DashboardUI.getDashboardEventbus().eventBus.post(event);
    }

    public static void register(final Object object) {
        DashboardUI.getDashboardEventbus().eventBus.register(object);
    }

    public static void unregister(final Object object) {
        DashboardUI.getDashboardEventbus().eventBus.unregister(object);
    }

    @Override
    public final void handleException(final Throwable exception,
            final SubscriberExceptionContext context) {
        exception.printStackTrace();
    }
}

KATA

.Next

Vaadin Korea Meetup#1

By Basak Pie

Vaadin Korea Meetup#1

Vaadin Korea Meetup#1

  • 959
Loading comments...

More from Basak Pie