Package org.richfaces.photoalbum.util

Examples of org.richfaces.photoalbum.util.ApplicationUtils


    private static final long serialVersionUID = 1L;
    private PhaseId phase = PhaseId.RESTORE_VIEW;

    public void beforePhase(PhaseEvent e) {
        ApplicationUtils utils = getUtils();
        utils.fireCheckUserExpiredEvent();
    }
View Full Code Here


    private ApplicationUtils getUtils() {
        BeanManager bm = getBeanManager();
        Bean<ApplicationUtils> bean = (Bean<ApplicationUtils>) bm.getBeans(ApplicationUtils.class).iterator().next();
        CreationalContext<ApplicationUtils> ctx = bm.createCreationalContext(bean);
        ApplicationUtils utils = (ApplicationUtils) bm.getReference(bean, ApplicationUtils.class, ctx);
            // this could be inlined, but intentionally left this way
        return utils;
    }
View Full Code Here

TOP

Related Classes of org.richfaces.photoalbum.util.ApplicationUtils

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.