public void setSessionListeners(Collection<SessionListener> listeners) {
        this.listeners = listeners != null ? listeners : new ArrayList<SessionListener>();
    }
Abstract implementation supporting the {@link NativeSessionManager NativeSessionManager} interface, supporting
{@link SessionListener SessionListener}s and application of the
{@link #getGlobalSessionTimeout() globalSessionTimeout}.

@since 1.0
core/src/main/java/org/apache/shiro/session/mgt/AbstractNativeSessionManager.java