- java.lang.Object
-
- javax.faces.application.ApplicationConfigurationPopulator
-
public abstract class ApplicationConfigurationPopulator extends Object
This class defines a
java.util.ServiceLoader
service which enables programmatic configuration of the JSF runtime using the existing Application Configuration Resources schema. See the section "Application Startup Behavior" in the specification prose document for the specification on when and how implementations of this service are used.- Since:
- 2.2
-
-
Constructor Summary
Constructors Constructor and Description ApplicationConfigurationPopulator()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description abstract void
populateApplicationConfiguration(Document toPopulate)
Service providers that implement this service must be called by the JSF runtime exactly once for each implementation, at startup, before any requests have been serviced.
-
-
-
Method Detail
-
populateApplicationConfiguration
public abstract void populateApplicationConfiguration(Document toPopulate)
Service providers that implement this service must be called by the JSF runtime exactly once for each implementation, at startup, before any requests have been serviced. Before calling the
populateApplicationConfiguration(org.w3c.dom.Document)
method, the runtime must ensure that theDocument
argument is empty aside from being pre-configured to be in the proper namespace for an Application Configuration Resources file:http://xmlns.jcp.org/xml/ns/javaee
. Implementations of this service must ensure that any changes made to the argumentDocument
conform to that schema as defined in the specification. The JSF runtime is not required to validate theDocument
after control returns from the service implementation, though it may do so.Ordering of Artifacts
If the document is made to contain an
<ordering>
element, as specified in the section Ordering of Artifacts in the specification prose document, the document will be prioritized accordingly. Otherwise, the runtime must place the document in the list of other Application Configuration Resources documents at the "lowest" priority, meaning any conflicts that may arise between the argument document and any other Application Configuration Resources are resolved in favor of the other document.- Parameters:
toPopulate
- The Document to populate with configuration.- Since:
- 2.2
-
-
Traduction non disponible
Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Version en cache
24/08/2025 20:47:22 Cette version de la page est en cache (à la date du 24/08/2025 20:47:22) afin d'accélérer le traitement.Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la version plus récente de la page.
Document créé le 11/06/2005, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/faces/application/ApplicationConfigurationPopulator.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.