Package railo.loader.engine

Examples of railo.loader.engine.CFMLEngineFactory


     * @throws PageException
     */
    public void runUpdate(String password) throws PageException {
      checkWriteAccess();
        ConfigServerImpl cs = (ConfigServerImpl) config.getConfigServer(password);
        CFMLEngineFactory factory = cs.getCFMLEngine().getCFMLEngineFactory();
        synchronized(factory){
          try {
              factory.update(cs.getPassword());
          }
          catch (Exception e) {
              throw Caster.toPageException(e);
          }
        }
View Full Code Here


   
    private void _removeUpdate(String password,boolean onlyLatest) throws PageException {
      checkWriteAccess();
      ConfigServerImpl cs = (ConfigServerImpl) config.getConfigServer(password);
        try {
          CFMLEngineFactory factory = cs.getCFMLEngine().getCFMLEngineFactory();
         
          if(onlyLatest){
            try{
              factory.removeLatestUpdate(cs.getPassword());
            }
            catch(Throwable t)  {
              removeLatestUpdateOld(factory,cs.getPassword());
            }
          }
          else factory.removeUpdate(cs.getPassword());
         
         
        }
        catch (Exception e) {
            throw Caster.toPageException(e);
View Full Code Here

     * @throws PageException
     */
    public void restart(String password) throws PageException {
      checkWriteAccess();
        ConfigServerImpl cs = (ConfigServerImpl) config.getConfigServer(password);
        CFMLEngineFactory factory = cs.getCFMLEngine().getCFMLEngineFactory();
        synchronized(factory){
          try {
              factory.restart(cs.getPassword());
          }
          catch (Exception e) {
              throw Caster.toPageException(e);
          }
        }
View Full Code Here

  public boolean hasServerPassword() {
    return hasPassword();
  }

  public String[] getInstalledPatches() throws PageException {
    CFMLEngineFactory factory = getCFMLEngine().getCFMLEngineFactory();
     
    try{
      return factory.getInstalledPatches();
    }
    catch(Throwable t){
      try {
        return getInstalledPatchesOld(factory);
      } catch (Exception e1) {
View Full Code Here

TOP

Related Classes of railo.loader.engine.CFMLEngineFactory

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.