Package org.ejbca.core.model.services

Examples of org.ejbca.core.model.services.ServiceConfiguration.loadData()


      decoder.close();
      // Handle Base64 encoded string values
      HashMap data = new Base64GetHashMap(h);
      float oldversion = ((Float) data.get(UpgradeableDataHashMap.VERSION)).floatValue();
      ServiceConfiguration serviceConfiguration = new ServiceConfiguration();
      serviceConfiguration.loadData(data);
      if ( ((serviceConfiguration != null) && (Float.compare(oldversion, serviceConfiguration.getVersion()) != 0))) {
        // Upgrade in version 4 of ServiceConfiguration. If we do not have nextRunTimeStamp and runTimeStamp set in
        // the database, but we have them in serviceConfiguration, we will simply copy the values over.
        // After this we will not use the values in ServiceConfiguration any more
        final String NEXTRUNTIMESTAMP = "NEXTRUNTIMESTAMP";
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.