Wednesday, March 27, 2013

Re: PlaceController constructor Deprecated

use com.google.web.bindery.event.shared.EventBus to avoid Depricated API

http://www.techiesinfo.com

On Friday, September 9, 2011 5:16:17 AM UTC-7, Fabricio Pizzichillo wrote:
Hello friends.
I use GIN to implement dependency injection.
I upgraded to version 2.4.0 and I encounter a problem when I "bind (EventBus.class).To (SimpleEventBus.class). In (Singleton.class);"
The log says "Deferred binding result type 'com.google.gwt.event.shared.EventBus' should not be abstract"
This happens when I change the imported packages of "importcom.google.gwt.event.shared.EventBus;
com.google.gwt.event.shared.SimpleEventBus import, "to" importcom.google.web.bindery.event.shared.EventBus;
import com.google.web.bindery.event.shared.SimpleEventBus;. "
I made this change because the constructor of the class "PlaceController" is deprecated
"@ Deprecated
   public PlaceController (com.google.gwt.event.shared.EventBus eventBus) {
     this ((EventBus) eventBus);
   } "

Any idea how to solve it?

Thanks and greetings!

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment