public static void addCacheEntry ( final ClassLoader classLoader , final String factoryId , final String factoryClassName ) { if ( factoryClassName == null ) { CLASS_CACHE . put ( new CacheKey ( classLoader , factoryId ) , "" ) ; } else { CLASS_CACHE . put ( new CacheKey ( classLoader , factoryId ) , factoryClassName ) ; } }
Called by the container at deployment time to set the name of a given factory to remove the need for the implementation to look it up on every call .