public void addHttpSessionIdListener(ArrayList al, String j2eeName) {
        if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINE)) {
            LoggingUtil.SESSION_LOGGER_CORE.entering(methodClassName, methodNames[ADD_HTTP_SESSION_ID_LISTENER], "addHttpSessionIdListener:" + al);
        }
        if (j2eeName != null) {
            addToJ2eeNameList(j2eeName, al.size(), mHttpSessionIdListenersJ2eeNames);
        }
        synchronized (mHttpSessionIdListeners) {
            mHttpSessionIdListeners.addAll(al);
        }

        if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINE)) {
            LoggingUtil.SESSION_LOGGER_CORE.exiting(methodClassName, methodNames[ADD_HTTP_SESSION_LISTENER], "addHttpSessionListener:" + al);
        }
    }
public void addHttpSessionIdListener ( ArrayList al , String j2eeName ) { if ( com . ibm . ejs . ras . TraceComponent . isAnyTracingEnabled ( ) && LoggingUtil . SESSION_LOGGER_CORE . isLoggable ( Level . FINE ) ) { LoggingUtil . SESSION_LOGGER_CORE . entering ( methodClassName , methodNames [ ADD_HTTP_SESSION_ID_LISTENER ] , "addHttpSessionIdListener:" + al ) ; } if ( j2eeName != null ) { addToJ2eeNameList ( j2eeName , al . size ( ) , mHttpSessionIdListenersJ2eeNames ) ; } synchronized ( mHttpSessionIdListeners ) { mHttpSessionIdListeners . addAll ( al ) ; } if ( com . ibm . ejs . ras . TraceComponent . isAnyTracingEnabled ( ) && LoggingUtil . SESSION_LOGGER_CORE . isLoggable ( Level . FINE ) ) { LoggingUtil . SESSION_LOGGER_CORE . exiting ( methodClassName , methodNames [ ADD_HTTP_SESSION_LISTENER ] , "addHttpSessionListener:" + al ) ; } }
/*
Adds a list of Session ID Listeners
For shared session context or global sesions, we call
this method to add each app's listeners.