Package com.sun.enterprise.config

Examples of com.sun.enterprise.config.ConfigContextEventListener


        Vector listenersClone = null;
        synchronized (listeners) {
            listenersClone = (Vector) listeners.clone();
        }
        for (Enumeration e = listenersClone.elements(); e.hasMoreElements();) {
            ConfigContextEventListener nl = (ConfigContextEventListener) e.nextElement();
            if(when.equals(PRE_CHANGE)) {
                /*
                if(type.equals(ConfigContextEvent.PRE_ACCESS) || type.equals(ConfigContextEvent.POST_ACCESS))
                    nl.preAccessNotification(ne);
                else
                 */
                    nl.preChangeNotification(ne);
            } else {
                /*
                if(type.equals(ConfigContextEvent.PRE_ACCESS) || type.equals(ConfigContextEvent.POST_ACCESS))
                    nl.postAccessNotification(ne);
                else
                 */
                    nl.postChangeNotification(ne);
            }
        }
    }
View Full Code Here


        AdminService adminService = AdminService.getAdminService();
        if(adminService.isDas()) {
            ConfigContext ctx = adminService.getAdminContext()
            .getAdminConfigContext();
           
            ConfigContextEventListener el = new LoadbalancerAdminEventListener();
            ctx.addConfigContextEventListener(el);
        }
    }
View Full Code Here

            return;
        }

        ConfigContext ctx = adminService.getAdminContext()
                                        .getAdminConfigContext();
        ConfigContextEventListener el = new ClbAdminEventListener();
        ctx.addConfigContextEventListener(el);
    }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.config.ConfigContextEventListener

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.