public IocContainerRebind(RebindContext context, View view, String device) {
   super(context, false);
   this.view = view;
   viewBindableType =
       context
           .getGeneratorContext()
           .getTypeOracle()
           .findType(ViewBindable.class.getCanonicalName());
   remoteServiceType =
       context
           .getGeneratorContext()
           .getTypeOracle()
           .findType(RemoteService.class.getCanonicalName());
   this.device = Device.valueOf(device);
   iocContainerManager = new IocContainerManager(context);
   configurations = iocContainerManager.getConfigurationsForView(view, this.device);
 }
  public SQLObjectStoreProxyCreator(
      RebindContext context,
      JClassType targetObjectType,
      String objectStoreName,
      String[] keyPath,
      boolean autoIncrement,
      Set<IndexData> indexes) {
    super(context, targetObjectType, objectStoreName, keyPath);
    this.autoIncrement = autoIncrement;
    validatePrimaryKeyPath(targetObjectType, objectStoreName, keyPath);

    this.indexes = indexes;
    this.abstractObjectStoreType =
        context
            .getGeneratorContext()
            .getTypeOracle()
            .findType(WSQLAbstractObjectStore.class.getCanonicalName());
    this.dbVariable = "db";
  }