congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
CurrentThreadToServletContext.removeFactoryFinder
Code IndexAdd Tabnine to your IDE (free)

How to use
removeFactoryFinder
method
in
javax.faces.CurrentThreadToServletContext

Best Java code snippets using javax.faces.CurrentThreadToServletContext.removeFactoryFinder (Showing top 4 results out of 315)

origin: org.glassfish/javax.faces

/**
 * <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();
  }
}
origin: org.glassfish/jakarta.faces

/**
 * <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();
  }
}
origin: eclipse-ee4j/mojarra

/**
 * <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();
  }
}
origin: eclipse-ee4j/mojarra

/**
 * <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();
  }
}
javax.facesCurrentThreadToServletContextremoveFactoryFinder

Popular methods of CurrentThreadToServletContext

  • detectSpecialInitializationCase
    This method is used to detect the following special initialization case. IF no FactoryFinderInstance
  • getFallbackFactory
  • getServletContextForCurrentClassLoader
    Uses the FactoryManagerCacheKey system to find the ServletContext associated with the current ClassL
  • resetSpecialInitializationCaseFlags
  • getApplicationFactoryManager
  • getClassLoader
    Identify and return the class loader that is associated with the calling web application.
  • removeApplicationFactoryManager
  • getFactoryFinder

Popular in Java

  • Creating JSON documents from java classes using gson
  • requestLocationUpdates (LocationManager)
  • getContentResolver (Context)
  • putExtra (Intent)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now