congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
FactoryFinderInstance.releaseFactories
Code IndexAdd Tabnine to your IDE (free)

How to use
releaseFactories
method
in
javax.faces.FactoryFinderInstance

Best Java code snippets using javax.faces.FactoryFinderInstance.releaseFactories (Showing top 8 results out of 315)

origin: javax/javaee-web-api

/**
 * <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.applicationMap.isEmpty()) {
      FactoryFinderInstance fm = FACTORIES_CACHE.getApplicationFactoryManager();
      fm.releaseFactories();
    }
    FACTORIES_CACHE.removeApplicationFactoryManager();
  }
}
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: 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();
  }
}
origin: javax.faces/javax.faces-api

/**
 * <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.applicationMap.isEmpty()) {
      FactoryFinderInstance fm = FACTORIES_CACHE.getApplicationFactoryManager();
      fm.releaseFactories();
    }
    FACTORIES_CACHE.removeApplicationFactoryManager();
  }
}
origin: com.sun.faces/jsf-api

/**
 * <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.applicationMap.isEmpty()) {
      FactoryFinderInstance fm = FACTORIES_CACHE.getApplicationFactoryManager();
      fm.releaseFactories();
    }
    FACTORIES_CACHE.removeApplicationFactoryManager();
  }
}
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: jboss/jboss-javaee-specs

/**
 * <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.applicationMap.isEmpty()) {
      FactoryFinderInstance fm = FACTORIES_CACHE.getApplicationFactoryManager();
      fm.releaseFactories();
    }
    FACTORIES_CACHE.removeApplicationFactoryManager();
  }
}
javax.facesFactoryFinderInstancereleaseFactories

Popular methods of FactoryFinderInstance

  • <init>
  • addFactory
  • clearInjectionProvider
  • copyInjectionProviderFromFacesContext
  • getFactory
  • getFactoryClass
  • getImplGivenPreviousImpl
    Implement the decorator pattern for the factory implementation. If previousImpl is non-null and
  • getImplNameFromServices
    Perform the logic to get the implementation class for the second step of FactoryFinder#getImplement
  • getImplementationInstance
    Load and return an instance of the specified implementation class using the following algorithm.
  • getInjectionProvider
  • validateFactoryName
  • getClassLoader
  • validateFactoryName,
  • getClassLoader,
  • injectImplementation,
  • logNoFactory,
  • logPreDestroyFail,
  • notNullFactory,
  • readLineFromStream

Popular in Java

  • Parsing JSON documents to java classes using gson
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (Timer)
  • setScale (BigDecimal)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Collectors (java.util.stream)
  • 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
  • JList (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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