Package com.ibm.xsp.application.events

Examples of com.ibm.xsp.application.events.ApplicationListener


      // In this case, we create the application object and we destroy it when the XPages application is destroyed
      FacesContextEx facesContext = FacesContextEx.getCurrentInstance();
      if(facesContext!=null) {
        final XspApplication newApp = app = (XspApplication)initApplication(facesContext.getExternalContext().getContext());
        ApplicationEx facesApplication = facesContext.getApplicationEx();
        facesApplication.addApplicationListener(new ApplicationListener() {
          public void applicationDestroyed(ApplicationEx application) {
          }
          public void applicationCreated(ApplicationEx application) {
            destroyApplication(newApp);
          }
View Full Code Here

TOP

Related Classes of com.ibm.xsp.application.events.ApplicationListener

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.