Codota Logo
FactoryFinderInstance.addFactory
Code IndexAdd Codota to your IDE (free)

How to use
addFactory
method
in
javax.faces.FactoryFinderInstance

Best Java code snippets using javax.faces.FactoryFinderInstance.addFactory (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: com.sun.faces/jsf-api

/**
 * <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/>
 * <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/>
 * <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
 */
public static void setFactory(String factoryName,
               String implName) {
  FactoryFinderInstance manager =
     FACTORIES_CACHE.getApplicationFactoryManager();
  manager.addFactory(factoryName, implName);
}
origin: org.glassfish/javax.faces

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

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

/**
 * <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);
}
origin: javax/javaee-web-api

/**
 * <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) {
  FactoryFinderInstance manager =
     FACTORIES_CACHE.getApplicationFactoryManager();
  manager.addFactory(factoryName, implName);
}
origin: eclipse-ee4j/mojarra

/**
 * <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);
}
origin: javax.faces/javax.faces-api

/**
 * <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) {
  FactoryFinderInstance manager =
     FACTORIES_CACHE.getApplicationFactoryManager();
  manager.addFactory(factoryName, implName);
}
origin: jboss/jboss-javaee-specs

/**
 * <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) {
  FactoryFinderInstance manager =
     FACTORIES_CACHE.getApplicationFactoryManager();
  manager.addFactory(factoryName, implName);
}
javax.facesFactoryFinderInstanceaddFactory

Popular methods of FactoryFinderInstance

  • <init>
  • 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
  • releaseFactories
  • validateFactoryName
  • getClassLoader
  • validateFactoryName,
  • getClassLoader,
  • injectImplementation,
  • logNoFactory,
  • logPreDestroyFail,
  • notNullFactory,
  • readLineFromStream

Popular in Java

  • Running tasks concurrently on multiple threads
  • setRequestProperty (URLConnection)
  • getSharedPreferences (Context)
  • setContentView (Activity)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
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