Examples of fireEventSynchronously()


Examples of org.b3log.latke.event.EventManager.fireEventSynchronously()

            final Skins skins = Skins.getInstance();
            skins.loadSkins(preference);

            final EventManager eventManager = EventManager.getInstance();

            eventManager.fireEventSynchronously(// for upgrade extensions
                    new Event<JSONObject>(EventTypes.PREFERENCE_LOAD,
                                          preference));

            Preferences.getInstance().setPreference(preference);
        } catch (final Exception e) {
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.