Examples of freeze()


Examples of com.ibm.icu.util.SimpleTimeZone.freeze()

      assert (data[2] >= 0 && data[2] <= kMAX_CUSTOM_MIN);
      assert (data[3] >= 0 && data[3] <= kMAX_CUSTOM_SEC);
      String id = formatCustomID(data[1], data[2], data[3], data[0] < 0);
      int offset = data[0] * ((data[1] * 60 + data[2]) * 60 + data[3]) * 1000;
      SimpleTimeZone tz = new SimpleTimeZone(offset, id);
      tz.freeze();
      return tz;
    }
  }

  private static final CustomTimeZoneCache CUSTOM_ZONE_CACHE = new CustomTimeZoneCache();
View Full Code Here

Examples of com.orientechnologies.orient.core.storage.impl.local.OFreezableStorage.freeze()

  }

  public void freeze() {
    final OFreezableStorage storage = getFreezableStorage();
    if (storage != null) {
      storage.freeze(false);
    }
  }

  public void freeze(final boolean throwException) {
    final OFreezableStorage storage = getFreezableStorage();
View Full Code Here

Examples of com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.freeze()

  @Override
  public void freezeCluster(final int iClusterId, final boolean throwException) {
    if (getStorage() instanceof OLocalPaginatedStorage) {
      final OLocalPaginatedStorage paginatedStorage = ((OLocalPaginatedStorage) getStorage());
      paginatedStorage.freeze(throwException, iClusterId);
    } else {
      OLogManager.instance().error(this, "Only local paginated storage supports cluster freeze.");
    }
  }
View Full Code Here

Examples of com.scooterframework.orm.activerecord.ActiveRecord.freeze()

     */
    protected ActiveRecord generateActiveRecordHomeInstance(String connName, String model, String table) {
        ActiveRecord record = (ActiveRecord)modelHomes.get(model);
        if (record == null) {
          record = ActiveRecordUtil.generateActiveRecordInstance(ActiveRecordUtil.DEFAULT_RECORD_CLASS, connName, model, table);
          if (record != null) record.freeze();
          ActiveRecordUtil.setHomeInstance(record);
          modelHomes.put(model, record);
        }
        return record;
    }
View Full Code Here

Examples of com.sun.xml.internal.ws.model.AbstractSEIModelImpl.freeze()

            // Generate WSDL for SEI endpoints(not for Provider endpoints)
            if (primaryDoc == null) {
                primaryDoc = generateWSDL(binding, seiModel, docList, container, implType);
                // create WSDL model
                wsdlPort = getWSDLPort(primaryDoc, docList, serviceName, portName, container);
                seiModel.freeze(wsdlPort);
            }
            // New Features might have been added in WSDL through Policy.
            // This sets only the wsdl features that are not already set(enabled/disabled)
            features.mergeFeatures(wsdlPort, false, true);
            terminal= new SEIInvokerTube(seiModel,invoker,binding);
View Full Code Here

Examples of com.sun.xml.ws.model.AbstractSEIModelImpl.freeze()

            // Generate WSDL for SEI endpoints(not for Provider endpoints)
            if (primaryDoc == null) {
                primaryDoc = generateWSDL(binding, seiModel, docList, container, implType);
                // create WSDL model
                wsdlPort = getWSDLPort(primaryDoc, docList, serviceName, portName, container);
                seiModel.freeze(wsdlPort);
            }
            policyMap = wsdlPort.getOwner().getParent().getPolicyMap();
            // New Features might have been added in WSDL through Policy.
            //Merge features from WSDL and other policy configuration
            // This sets only the wsdl features that are not already set(enabled/disabled)
View Full Code Here

Examples of fi.jumi.core.config.SuiteConfigurationBuilder.freeze()

                .setIncludedTestsPattern("glob:the pattern")
                .addToClasspath(libraryJar)
                .addToClasspath(folder1)
                .addToClasspath(folder2);

        List<Path> classesDirectories = SuiteFactory.getClassDirectories(suite.freeze());
        assertThat(classesDirectories, contains(folder1, folder2));
    }
}
View Full Code Here

Examples of flex2.compiler.abc.AbcClass.freeze()

        {
            // Freeeze the clases generated for the interface file, so that we
            // can still access them when we are building the generated file.
            //System.out.println("Freezing " + entry.getKey());
            AbcClass c = entry.getValue();
            c.freeze();
        }

        Source.transferDependencies(interfaceUnit, unit);
        Source.transferLoaderClassBase(interfaceUnit, unit);
        Source.transferGeneratedSources(interfaceUnit, unit);
View Full Code Here

Examples of fr.imag.adele.apam.maven.plugin.ApamCapability.freeze()

    if (group != null && group.getProperties() != null) {
      if (group.getKind().equals(ComponentKind.IMPLEMENTATION)
          && !group.getProperties().containsKey(CST.IMPLNAME)) {
        group.putAttr(CST.IMPLNAME, group.getName(),validator);
      }
      group.freeze();
      for (String prop : group.getProperties().keySet()) {
        if (ret.get(prop) == null
            && Attribute.isInheritedAttribute(prop)) {
          ret.put(prop, group.getProperties().get(prop));
        }
View Full Code Here

Examples of in.partake.model.UserTicketEx.freeze()

        for (UserTicket p : daos.getEnrollmentAccess().findByTicketId(con, ticket.getId(), 0, Integer.MAX_VALUE)) {
            if (p == null) { continue; }
            UserEx user = UserDAOFacade.getUserEx(con, daos, p.getUserId());
            if (user == null) { continue; }
            UserTicketEx pe = new UserTicketEx(p, user);
            pe.freeze();
            ps.add(pe);
        }

        Collections.sort(ps, UserTicketEx.getPriorityBasedComparator());
        return ps;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.