public interface ApplicationController extends EntryPoint
<set-configuration-property name="gin.ginjector.modules" value="com.arcbees.example.client.gin.ClientModule"/>
Multiple modules may be supplied as comma separated list.
The final step is to call GWT.create(ApplicationController.class)
inside your entry point and then call
applicationController.init()
.
You can add extension methods to your Ginjector by specifying additional interfaces. This property also
accepts a comma separated list.
<set-configuration-property name="gin.ginjector.extensions" value="com.arcbees.example.client.gin
.ClientInjectorAdditional"/>
In these additional interfaces you may for example add a .DefaultGatekeeper
.
{@code public interface ClientInjectorAdditional {
https://github.com/ArcBees/GWTP/wiki/Bootstrapping
Modifier and Type | Method and Description |
---|---|
void |
init() |
onModuleLoad
Copyright © 2010–2014 Arcbees. All rights reserved.