Package railo.runtime.type.cfc

Examples of railo.runtime.type.cfc.ComponentAccess.containsKey()


  }

  @Override
  public void onApplicationEnd(CFMLFactory factory, String applicationName) throws PageException {
    ComponentAccess app = apps.get(applicationName);
    if(app==null || !app.containsKey(ON_APPLICATION_END)) return;
   
    PageContextImpl pc=(PageContextImpl) ThreadLocalPageContext.get();
    boolean createPc=pc==null;
    try {
      if(createPc)pc =  createPageContext(factory,app,applicationName,null,ON_APPLICATION_END);
View Full Code Here


  }

  @Override
  public void onSessionEnd(CFMLFactory factory, String applicationName, String cfid) throws PageException {
    ComponentAccess app = apps.get(applicationName);
    if(app==null || !app.containsKey(ON_SESSION_END)) return;
   
    PageContextImpl pc=null;
    try {
      pc = createPageContext(factory,app,applicationName,cfid,ON_SESSION_END);
      call(app,pc, ON_SESSION_END, new Object[]{pc.sessionScope(false),pc.applicationScope()},true);
View Full Code Here

  }

  @Override
  public void onError(PageContext pc, PageException pe) {
    ComponentAccess app =  apps.get(pc.getApplicationContext().getName());
    if(app!=null && app.containsKey(ON_ERROR) && !Abort.isSilentAbort(pe)) {
      try {
        String eventName="";
        if(pe instanceof ModernAppListenerException) eventName= ((ModernAppListenerException)pe).getEventName();
        if(eventName==null)eventName="";
       
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.