Package railo.runtime.orm.hibernate.event

Examples of railo.runtime.orm.hibernate.event.AllEventListener


  }
 
  private static void addEventListeners(PageContext pc, SessionFactoryData data) throws PageException {
    if(!data.getORMConfiguration().eventHandling()) return;
    String eventHandler = data.getORMConfiguration().eventHandler();
    AllEventListener listener=null;
    if(!Util.isEmpty(eventHandler,true)){
      //try {
        Component c = pc.loadComponent(eventHandler.trim());
       
        listener = new AllEventListener(c);
            //config.setInterceptor(listener);
      //}catch (PageException e) {e.printStackTrace();}
    }
    data.getConfiguration().setInterceptor(new InterceptorImpl(listener));
        EventListeners listeners = data.getConfiguration().getEventListeners();
View Full Code Here

TOP

Related Classes of railo.runtime.orm.hibernate.event.AllEventListener

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.