Package org.atomojo.www.util.script

Examples of org.atomojo.www.util.script.ScriptManager


      // TODO: make the expiration configurable
      client = context.getClientDispatcher();
      if (autoconfList!=null && autoconfList.size()>0) {
         autoConf = autoconfList.get(autoconfList.size()-1);
         applications = new TreeMap<String,AppInfo>();
         this.scriptManager = new ScriptManager(getContext(),client,metadata,autoConf.getUsername(),autoConf.getPassword(),60000);
         this.context.getAttributes().put(ScriptManager.ATTR, scriptManager);
         check();
      } else {
         this.scriptManager = new ScriptManager(getContext(),client,metadata,null,null,60000);
         this.context.getAttributes().put(ScriptManager.ATTR, scriptManager);
         //configureStaticApplications();
      }
     
   }
View Full Code Here


      // TODO: make the expiration configurable
      client = context.getClientDispatcher();
      if (autoconfList!=null && autoconfList.size()>0) {
         autoConf = autoconfList.get(autoconfList.size()-1);
         applications = new TreeMap<String,AppInfo>();
         this.scriptManager = new ScriptManager(getContext(),client,metadata,autoConf.getUsername(),autoConf.getPassword(),60000);
         this.context.getAttributes().put(ScriptManager.ATTR, scriptManager);
         check();
      } else {
         this.scriptManager = new ScriptManager(getContext(),client,metadata,null,null,60000);
         this.context.getAttributes().put(ScriptManager.ATTR, scriptManager);
         configureStaticApplications();
      }
     
   }
View Full Code Here

TOP

Related Classes of org.atomojo.www.util.script.ScriptManager

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.