Codota Logo
FactoryFinderInstance.releaseFactories
Code IndexAdd Codota 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)

  • Common ways to obtain FactoryFinderInstance
private void myMethod () {
FactoryFinderInstance f =
  • Codota Iconnew FactoryFinderInstance()
  • Codota IconCurrentThreadToServletContext currentThreadToServletContext;currentThreadToServletContext.getApplicationFactoryManager()
  • Codota IconConcurrentMap concurrentMap;Object object;concurrentMap.get(object)
  • Smart code suggestions by Codota
}
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

  • Creating JSON documents from java classes using gson
  • addToBackStack (FragmentTransaction)
  • getSystemService (Context)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Hashtable (java.util)
    Hashtable is a synchronized implementation of Map. All optional operations are supported.Neither key
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Table (org.hibernate.mapping)
    A relational table
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now