public final MyFactory {
private static Provider<EventBus> eventBusProvider;
MyFactory(){}
public static EventBus getEventBus(){
return eventBusProvider.get();
}
@Inject
void setEventBus(Provider<EventBus> eventBusProvider) {
MyFactory.eventBusProvider = eventBusProvider;
}
}
--
You received this message because you are subscribed to a topic in the Google Groups "GWTP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gwt-platform/WFuL5CD1oQQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gwt-platform...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.