コード例 #1
0
 @Override
 protected void configure() {
   install(new GoGridComputeServiceDependenciesModule());
   install(new GoGridBindComputeStrategiesByClass());
   install(new GoGridBindComputeSuppliersByClass());
   super.configure();
 }
 @Override
 protected void configure() {
   super.configure();
   bind(new TypeLiteral<ComputeServiceContext>() {})
       .to(new TypeLiteral<ComputeServiceContextImpl<ComputeService, ComputeService>>() {})
       .in(Scopes.SINGLETON);
 }
 @Override
 protected void configure() {
   install(new SlicehostComputeServiceDependenciesModule());
   super.configure();
 }