Package org.xmlBlaster.util.property

Examples of org.xmlBlaster.util.property.PropLong


      this.callbackAddress = cbAddress;
      updateQueue = new LinkedQueue();
      ackQueue = new LinkedQueue();
     
      PropLong tmp = callbackAddress.getEnv("updateTimeout", 30000L);
      updateTimeout = tmp.getValue();
     
      tmp = callbackAddress.getEnv("updateAckTimeout", 30000L);
      updateAckTimeout = tmp.getValue();
     
      if (log.isLoggable(Level.FINE))
         log.fine("Accessing client callback web server using given url=" + callbackAddress.getRawAddress());
   }
View Full Code Here


    */
   public PropLong getEnv(String key, long defaultValue) {
      String defaultStr = this.pluginInfoParameters.getProperty(key,""+defaultValue);
      defaultValue = Long.valueOf(defaultStr).longValue();

      PropLong tmp = new PropLong(key, defaultValue);
      if (this.pluginAttributes != null) {
         Object val = this.pluginAttributes.get(key, (String)null);
         if (val != null) {
            tmp.setValue((String)val, PropEntry.CREATED_BY_SETTER);
            return tmp;
         }
      }
      tmp.setFromEnv(this.glob, this.nodeId, context, className, this.instanceName, this.envPrefix+key);
      return tmp;
   }
View Full Code Here

TOP

Related Classes of org.xmlBlaster.util.property.PropLong

Copyright © 2018 www.massapicom. 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.