Mike
unread,May 28, 2010, 11:12:10 AM5/28/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to GWT Dispatch
Hi guys,
So, I started work on my split point last days and I want to split
each Presenter instanciation.
Each Presenter, View, POJO, Actions and Results will be loaded only if
the user decide see the Presenter.
But, the gwt-dispatch is loading my Beans at startup. Really bad.
I have a model class called Contact. The Contact class is only used
inside ContactPresenter and ContactAction and ContactResult, and
ContactAction and ContactResult are only used inside ContactPresenter.
When I checked the split code, my ContactPresenter, ContactView,
ContactAction and ContactResult is listed on my split point 1. The
Contact class not.
Looks like that gwt-dispatch is doing some proxy at startup.
There's anything that I can do?
Split code generated by -compileReport
* br.com.example.shared.Contact::new
* br.com.example.shared.Contact_FieldSerializer::instantiate
*
net.customware.gwt.dispatch.client.service.DispatchService_TypeSerializer::registerMethods
*
net.customware.gwt.dispatch.client.service.DispatchService_TypeSerializer::
$clinit
*
net.customware.gwt.dispatch.client.service.DispatchService_Proxy::
$clinit
*
net.customware.gwt.dispatch.client.service.DispatchService_Proxy::
$DispatchService_Proxy
* net.customware.gwt.dispatch.client.DefaultDispatchAsync::$clinit
* net.customware.gwt.dispatch.client.DefaultDispatchAsync::
$DefaultDispatchAsync
* br.com.example.client.gin.CodeSplittingInjectorImpl::$create_Key
$type$net$customware$gwt$dispatch$client$DefaultDispatchAsync
$_annotation$$none$$
* br.com.example.client.gin.CodeSplittingInjectorImpl::$get_Key
$type$net$customware$gwt$dispatch$client$DispatchAsync$_annotation$
$none$$
* br.com.example.client.gin.CodeSplittingInjectorImpl::$create_Key
$type$br$com$example$client$mvp$Resource$_annotation$$none$$
* br.com.example.client.gin.CodeSplittingInjectorImpl::$get_Key
$type$br$com$example$client$mvp$Resource$_annotation$$none$$
* br.com.example.client.gin.CodeSplittingInjectorImpl::
$CodeSplittingInjectorImpl
* br.com.example.client.CodeSplitting::$onModuleLoad
Any help?