Name
Application
Synopsis
A single instance of a subclass of this abstract class per application creates instances of pluggable application classes or the default class if no customized version is registered.
Synopsis
Class name: |
javax.faces.application.Application |
Extends: |
None |
Implements: |
None |
Constructors
-
public Application()
Creates an instance.
Methods
-
public abstract void addComponent(String componentType, String componentClassName)
Registers a mapping between a component type ID and a component implementation class name.
-
public abstract void addConverter(Class targetClass, String converterClassName)
Registers a mapping between a
Class
and aConverter
implementation class name.-
public abstract void addConverter(String converterId, String converterClassName)
Registers a mapping between a converter ID and a
Converter
implementation class name.-
public abstract void addValidator(String validatorId, String converterClassName)
Registers a mapping between a validator ID and a
Validator
implementation class name.-
public abstract javax.faces.component.UIComponent
createComponent(String componentType) throws javax.faces.FacesException
Returns a new instance of the
UIComponent
class registered for the component type ID.-
public abstract javax.faces.component.UIComponent createComponent(javax.faces.el.ValueBinding componentBinding, javax.faces.context.FacesContext context, String componentType) throws javax.faces.el.FacesException
Calls the
ValueBinding
getValue( )
method. If it returns ...
Get JavaServer Faces now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.