- 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
-
-
Deutsche Übersetzung
Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.
Vielen Dank im Voraus.
Dokument erstellt 11/06/2005, zuletzt geändert 18/08/2025
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/java-api-javaee-rf-javax/faces/application/ApplicationConfigurationPopulator.html
Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.
Referenzen
Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor dieser Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.