Tabnine Logo
FactoryFinderInstance.addFactory
Code IndexAdd Tabnine 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)

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
  • getSharedPreferences (Context)
  • setContentView (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Reference (javax.naming)
  • 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