Package railo.runtime.cfx

Examples of railo.runtime.cfx.CFXTagPool


   
   
 
    public void verifyCFX(String name) throws PageException {
      CFXTagPool pool=config.getCFXTagPool();
    CustomTag ct=null;
    try {
      ct = pool.getCustomTag(name);
    }
        catch (CFXTagException e) {
      throw Caster.toPageException(e);
    }
        finally {
          if(ct!=null)pool.releaseCustomTag(ct);
        }
   
  }
View Full Code Here


      // RR SerialNumber sn = pageContext.getConfig().getSerialNumber();
      // if(sn.getVersion()==SerialNumber.VERSION_COMMUNITY)
      //     throw new SecurityException("no access to this functionality with the "+sn.getStringVersion()+" version of railo");
     
   
    CFXTagPool pool=pageContext.getConfig().getCFXTagPool();
    CustomTag ct;
    try {
      ct = pool.getCustomTag(appendix);
    }
        catch (CFXTagException e) {
      throw Caster.toPageException(e);
    }
    Request req=new RequestImpl(pageContext,attributes);
    Response rsp=new ResponseImpl(pageContext,req.debug());
    try {
      ct.processRequest(req,rsp);
    } catch (Exception e) {
      throw Caster.toPageException(e);
    }
    pool.releaseCustomTag(ct);
   
    return SKIP_BODY;
  }
View Full Code Here

TOP

Related Classes of railo.runtime.cfx.CFXTagPool

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.