FactoryFinderInstance getFactoryFinder() { return getFactoryFinder(getContextClassLoader2(), true); }
FactoryFinderInstance getFactoryFinder(boolean create) { return getFactoryFinder(getContextClassLoader2(), create); }
FactoryFinderInstance getFactoryFinder() { return getFactoryFinder(getContextClassLoader2(), true); }
FactoryFinderInstance getFactoryFinder() { return getFactoryFinder(getContextClassLoader2(), true); }
FactoryFinderInstance getFactoryFinder(boolean create) { return getFactoryFinder(getContextClassLoader2(), create); }
FactoryFinderInstance getFactoryFinder(boolean create) { return getFactoryFinder(getContextClassLoader2(), create); }
FactoryFinderInstance getFactoryFinder() { return getFactoryFinder(getContextClassLoader2(), true); }
FactoryFinderInstance getFactoryFinder(boolean create) { return getFactoryFinder(getContextClassLoader2(), create); }
/** * <p> * This method will store the argument <code>factoryName/implName</code> mapping in such a way * that {@link #getFactory} will find this mapping when searching for a match. * </p> * * <p> * This method has no effect if <code>getFactory()</code> has already been called looking for a * factory for this <code>factoryName</code>. * </p> * * <p> * This method can be used by implementations to store a factory mapping while parsing the Faces * configuration file * </p> * * @throws IllegalArgumentException if <code>factoryName</code> does not identify a standard * JavaServer Faces factory name * @throws NullPointerException if <code>factoryname</code> is null * * @param factoryName the name to be used in a subsequent call to {@link #getFactory}. * * @param implName the fully qualified class name of the factory corresponding to * {@code factoryName}. */ public static void setFactory(String factoryName, String implName) { FACTORIES_CACHE.getFactoryFinder().addFactory(factoryName, implName); }
/** * <p> * This method will store the argument <code>factoryName/implName</code> mapping in such a way * that {@link #getFactory} will find this mapping when searching for a match. * </p> * * <p> * This method has no effect if <code>getFactory()</code> has already been called looking for a * factory for this <code>factoryName</code>. * </p> * * <p> * This method can be used by implementations to store a factory mapping while parsing the Faces * configuration file * </p> * * @throws IllegalArgumentException if <code>factoryName</code> does not identify a standard * JavaServer Faces factory name * @throws NullPointerException if <code>factoryname</code> is null * * @param factoryName the name to be used in a subsequent call to {@link #getFactory}. * * @param implName the fully qualified class name of the factory corresponding to * {@code factoryName}. */ public static void setFactory(String factoryName, String implName) { FACTORIES_CACHE.getFactoryFinder().addFactory(factoryName, implName); }
/** * <p> * This method will store the argument <code>factoryName/implName</code> mapping in such a way * that {@link #getFactory} will find this mapping when searching for a match. * </p> * * <p> * This method has no effect if <code>getFactory()</code> has already been called looking for a * factory for this <code>factoryName</code>. * </p> * * <p> * This method can be used by implementations to store a factory mapping while parsing the Faces * configuration file * </p> * * @throws IllegalArgumentException if <code>factoryName</code> does not identify a standard * JavaServer Faces factory name * @throws NullPointerException if <code>factoryname</code> is null * * @param factoryName the name to be used in a subsequent call to {@link #getFactory}. * * @param implName the fully qualified class name of the factory corresponding to * {@code factoryName}. */ public static void setFactory(String factoryName, String implName) { FACTORIES_CACHE.getFactoryFinder().addFactory(factoryName, implName); }
/** * <p> * This method will store the argument <code>factoryName/implName</code> mapping in such a way * that {@link #getFactory} will find this mapping when searching for a match. * </p> * * <p> * This method has no effect if <code>getFactory()</code> has already been called looking for a * factory for this <code>factoryName</code>. * </p> * * <p> * This method can be used by implementations to store a factory mapping while parsing the Faces * configuration file * </p> * * @throws IllegalArgumentException if <code>factoryName</code> does not identify a standard * JavaServer Faces factory name * @throws NullPointerException if <code>factoryname</code> is null * * @param factoryName the name to be used in a subsequent call to {@link #getFactory}. * * @param implName the fully qualified class name of the factory corresponding to * {@code factoryName}. */ public static void setFactory(String factoryName, String implName) { FACTORIES_CACHE.getFactoryFinder().addFactory(factoryName, implName); }
/** * <p> * <span class="changed_modified_2_0">Release</span> any references to factory instances * associated with the class loader for the calling web application. * <span class="changed_modified_2_0">This method must be called during of web application * shutdown.</span> * </p> * * @throws FacesException if the web application class loader cannot be identified */ public static void releaseFactories() throws FacesException { synchronized (FACTORIES_CACHE) { if (!FACTORIES_CACHE.factoryFinderMap.isEmpty()) { FACTORIES_CACHE.getFactoryFinder().releaseFactories(); } FACTORIES_CACHE.removeFactoryFinder(); } }
/** * <p> * <span class="changed_modified_2_0">Release</span> any references to factory instances * associated with the class loader for the calling web application. * <span class="changed_modified_2_0">This method must be called during of web application * shutdown.</span> * </p> * * @throws FacesException if the web application class loader cannot be identified */ public static void releaseFactories() throws FacesException { synchronized (FACTORIES_CACHE) { if (!FACTORIES_CACHE.factoryFinderMap.isEmpty()) { FACTORIES_CACHE.getFactoryFinder().releaseFactories(); } FACTORIES_CACHE.removeFactoryFinder(); } }
/** * <p> * <span class="changed_modified_2_0">Release</span> any references to factory instances * associated with the class loader for the calling web application. * <span class="changed_modified_2_0">This method must be called during of web application * shutdown.</span> * </p> * * @throws FacesException if the web application class loader cannot be identified */ public static void releaseFactories() throws FacesException { synchronized (FACTORIES_CACHE) { if (!FACTORIES_CACHE.factoryFinderMap.isEmpty()) { FACTORIES_CACHE.getFactoryFinder().releaseFactories(); } FACTORIES_CACHE.removeFactoryFinder(); } }
/** * <p> * <span class="changed_modified_2_0">Release</span> any references to factory instances * associated with the class loader for the calling web application. * <span class="changed_modified_2_0">This method must be called during of web application * shutdown.</span> * </p> * * @throws FacesException if the web application class loader cannot be identified */ public static void releaseFactories() throws FacesException { synchronized (FACTORIES_CACHE) { if (!FACTORIES_CACHE.factoryFinderMap.isEmpty()) { FACTORIES_CACHE.getFactoryFinder().releaseFactories(); } FACTORIES_CACHE.removeFactoryFinder(); } }
void removeFactoryFinder() { ClassLoader classLoader = getContextClassLoader2(); FactoryFinderInstance factoryFinder = getFactoryFinder(classLoader, false); if (factoryFinder != null) { factoryFinder.clearInjectionProvider(); } FacesContext facesContext = servletContextFacesContextFactory.getFacesContextWithoutServletContextLookup(); boolean isSpecialInitializationCase = detectSpecialInitializationCase(facesContext); factoryFinderMap.remove(new FactoryFinderCacheKey(facesContext, classLoader, factoryFinderMap)); if (isSpecialInitializationCase) { resetSpecialInitializationCaseFlags(); } }
void removeFactoryFinder() { ClassLoader classLoader = getContextClassLoader2(); FactoryFinderInstance factoryFinder = getFactoryFinder(classLoader, false); if (factoryFinder != null) { factoryFinder.clearInjectionProvider(); } FacesContext facesContext = servletContextFacesContextFactory.getFacesContextWithoutServletContextLookup(); boolean isSpecialInitializationCase = detectSpecialInitializationCase(facesContext); factoryFinderMap.remove(new FactoryFinderCacheKey(facesContext, classLoader, factoryFinderMap)); if (isSpecialInitializationCase) { resetSpecialInitializationCaseFlags(); } }
void removeFactoryFinder() { ClassLoader classLoader = getContextClassLoader2(); FactoryFinderInstance factoryFinder = getFactoryFinder(classLoader, false); if (factoryFinder != null) { factoryFinder.clearInjectionProvider(); } FacesContext facesContext = servletContextFacesContextFactory.getFacesContextWithoutServletContextLookup(); boolean isSpecialInitializationCase = detectSpecialInitializationCase(facesContext); factoryFinderMap.remove(new FactoryFinderCacheKey(facesContext, classLoader, factoryFinderMap)); if (isSpecialInitializationCase) { resetSpecialInitializationCaseFlags(); } }
void removeFactoryFinder() { ClassLoader classLoader = getContextClassLoader2(); FactoryFinderInstance factoryFinder = getFactoryFinder(classLoader, false); if (factoryFinder != null) { factoryFinder.clearInjectionProvider(); } FacesContext facesContext = servletContextFacesContextFactory.getFacesContextWithoutServletContextLookup(); boolean isSpecialInitializationCase = detectSpecialInitializationCase(facesContext); factoryFinderMap.remove(new FactoryFinderCacheKey(facesContext, classLoader, factoryFinderMap)); if (isSpecialInitializationCase) { resetSpecialInitializationCaseFlags(); } }