auxiliary-builds/jdk14/src/java/org/apache/commons/jcs/auxiliary/lateral/LateralCacheFactory.java [120:154]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                ICache ic = lcm.getCache( lac.getCacheName() );
                if ( ic != null )
                {
                    noWaits.add( ic );
                }
            }
        }

        createListener( lac, cacheMgr );

        // create the no wait facade.
        LateralCacheNoWaitFacade lcnwf = new LateralCacheNoWaitFacade( (LateralCacheNoWait[]) noWaits
            .toArray( new LateralCacheNoWait[0] ), iaca.getCacheName() );

        return lcnwf;
    }

    /*
     * (non-Javadoc)
     *
     * @see org.apache.commons.jcs.auxiliary.lateral.LateralCacheAbstractFactory#createListener(org.apache.commons.jcs.auxiliary.lateral.LateralCacheAttributes,
     *      org.apache.commons.jcs.engine.behavior.ICompositeCacheManager)
     */
    public void createListener( LateralCacheAttributes lac, ICompositeCacheManager cacheMgr )
    {
        // don't create a listener if we are not receiving.
        if ( lac.isReceive() )
        {

            if ( log.isInfoEnabled() )
            {
                log.info( "Creating listener for " + lac );
            }

            try
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



auxiliary-builds/jdk14/src/java/org/apache/commons/jcs/auxiliary/lateral/javagroups/LateralJGCacheFactory.java [63:95]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        ICache ic = lcm.getCache( lac.getCacheName() );
        if ( ic != null )
        {
            noWaits.add( ic );
        }

        createListener( lac, cacheMgr );

        // create the no wait facade.
        LateralCacheNoWaitFacade lcnwf = new LateralCacheNoWaitFacade( (LateralCacheNoWait[]) noWaits
            .toArray( new LateralCacheNoWait[0] ), iaca.getCacheName() );

        return lcnwf;
    }

    /*
     * (non-Javadoc)
     *
     * @see org.apache.commons.jcs.auxiliary.lateral.LateralCacheAbstractFactory#createListener(org.apache.commons.jcs.auxiliary.lateral.LateralCacheAttributes,
     *      org.apache.commons.jcs.engine.behavior.ICompositeCacheManager)
     */
    public void createListener( LateralCacheAttributes lac, ICompositeCacheManager cacheMgr )
    {
        // don't create a listener if we are not receiving.
        if ( lac.isReceive() )
        {

            if ( log.isInfoEnabled() )
            {
                log.info( "Creating listener for " + lac );
            }

            try
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



