Package org.apache.shiro.event.support

Examples of org.apache.shiro.event.support.DefaultEventBus


    /**
     * Default no-arg constructor that will automatically attempt to initialize a default cacheManager
     */
    public CachingSecurityManager() {
        //use a default event bus:
        setEventBus(new DefaultEventBus());
    }
View Full Code Here


     */
    public void destroy() {
        LifecycleUtils.destroy(getCacheManager());
        this.cacheManager = null;
        LifecycleUtils.destroy(getEventBus());
        this.eventBus = new DefaultEventBus();
    }
View Full Code Here

    private final Map<String,Object> registeredEventSubscribers;

    //@since 1.3
    private Map<String,Object> createDefaultObjectMap() {
        Map<String,Object> map = new LinkedHashMap<String, Object>();
        map.put(EVENT_BUS_NAME, new DefaultEventBus());
        return map;
    }
View Full Code Here

TOP

Related Classes of org.apache.shiro.event.support.DefaultEventBus

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.