@Override
    public Class<? extends ChannelFactory> lookupFactory(String name) {
        Class<? extends ChannelFactory> clazz = null;
        synchronized (this.factories) {
            clazz = this.factories.get(name);
        }
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
            Tr.debug(tc, "lookupFactory: " + name + ": " + clazz);
        }
        if (null != clazz) {
            // if we found a registration and a provider, let it know
            ChannelFactoryProvider provider = this.providers.get(name);
            if (null != provider && !activatedProviders.contains(provider)) {
                this.activatedProviders.add(provider);
                provider.init();
            }
        }
        return clazz;
    }
@ Override public Class < ? extends ChannelFactory > lookupFactory ( String name ) { Class < ? extends ChannelFactory > clazz = null ; synchronized ( this . factories ) { clazz = this . factories . get ( name ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "lookupFactory: " + name + ": " + clazz ) ; } if ( null != clazz ) { ChannelFactoryProvider provider = this . providers . get ( name ) ; if ( null != provider && ! activatedProviders . contains ( provider ) ) { this . activatedProviders . add ( provider ) ; provider . init ( ) ; } } return clazz ; }
/*
@see
com.ibm.wsspi.channelfw.ChannelFramework#lookupFactory(java.lang.String)