Provides a simple implementation of Application that can be
subclassed by developers wishing to provide specialized behavior to an existing Application instance. The
default implementation of all methods is to call through to the wrapped Application.
Usage: extend this class and push the implementation being wrapped to the constructor and use getWrapped to
access the instance being wrapped.
| Modifier and Type | Field and Description |
|---|---|
| private Application |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ApplicationWrapper(Application
The implementation being wrapped. wrapped)If this application has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public void | addBehavior(String
The behavior id to be registered behaviorId, String The fully qualified class name of the corresponding behaviorClass)Behavior implementationOverrides jakarta.
The default behavior of this method is to call |
| public void | addComponent(String
The component type to be registered componentType, String The fully qualified class name of the corresponding componentClass)UIComponent implementationImplements abstract jakarta.
The default behavior of this method is to call |
| public void | addConverter(String
The converter id to be registered converterId, String The fully qualified class name of the corresponding converterClass)Converter implementationImplements abstract jakarta.
The default behavior of this method is to call |
| public void | addConverter(Class<?>
The class for which this converter is registered targetClass, String The fully qualified class name of the corresponding converterClass)Converter implementationImplements abstract jakarta.
The default behavior of this method is to call |
| public void | addDefaultValidatorId(String
the validator id. validatorId)Overrides jakarta.
The default behavior of this method is to call |
| public void | addELContextListener(ELContextListener
the Jakarta Expression Language context listener to add. listener)Overrides jakarta.
The default behavior of this method is to call |
| public void | addELResolver(ELResolver
the Jakarta Expression Language resolver to add. resolver)Overrides jakarta.
The default behavior of this method is to call
|
| public void | addSearchKeywordResolver(SearchKeywordResolver
the SearchKeywordResolver to add. resolver)Overrides jakarta.
Cause the argument |
| public void | addValidator(String
The validator id to be registered validatorId, String The fully qualified class name of the corresponding validatorClass)Validator implementationImplements abstract jakarta.
The default behavior of this method is to call |
| public Behavior | createBehavior(String
The behavior id for which to create and return a new behaviorId)Behavior instanceOverrides jakarta.
The default behavior of this method is to call |
| public UIComponent | createComponent(String
The component type for which to create and return a new componentType)UIComponent instanceImplements abstract jakarta.
The default behavior of this method is to call |
| public UIComponent | createComponent(ValueExpression
ValueExpression representing a component value expression (typically specified by
the component attribute of a custom tag)FacesContext for the current requestComponent type to create if the componentType)ValueExpression does not return a component instanceOverrides jakarta.
The default behavior of this method is to call
|
| public UIComponent | createComponent(ValueExpression
ValueExpression representing a component value expression (typically specified by
the component attribute of a custom tag)FacesContext for the current requestComponent type to create if the componentType, String ValueExpression does not return a component instanceThe renderer-type of the rendererType)Renderer that will render this component. A
null value must be accepted for this parameter.Overrides jakarta.
The default behavior of this method is to call
|
| public UIComponent | createComponent(FacesContext
FacesContext for the current requestComponent type to create componentType, String The renderer-type of the rendererType)Renderer that will render this component. A
null value must be accepted for this parameter.Overrides jakarta.
The default behavior of this method is to call
|
| public UIComponent | createComponent(FacesContext
FacesContext for the current requestA componentResource)Resource that points to a source file that provides an implementation of a
component.Overrides jakarta.
The default behavior of this method is to call
|
| public Converter | createConverter(String
The converter id for which to create and return a new converterId)Converter instanceImplements abstract jakarta.
The default behavior of this method is to call |
| public Converter | createConverter(Class<?>
Target class for which to return a targetClass)ConverterImplements abstract jakarta.
The default behavior of this method is to call |
| public Validator | createValidator(String
The validator id for which to create and return a new validatorId)Validator instanceImplements abstract jakarta.
The default behavior of this method is to call |
| public <T> T | evaluateExpressionGet(FacesContext
the Faces context. context, String the expression. expression, Class<? extends T> the expected type. expectedType)Overrides jakarta.
The default behavior of this method is to call
|
| public ActionListener | getActionListener()
Implements abstract jakarta.
The default behavior of this method is to call |
| public Iterator | getBehaviorIds()
Overrides jakarta.
The default behavior of this method is to call |
| public Iterator | getComponentTypes()
Implements abstract jakarta.
The default behavior of this method is to call |
| public Iterator | getConverterIds()
Implements abstract jakarta.
The default behavior of this method is to call |
| public Iterator | getConverterTypes()
Implements abstract jakarta.
The default behavior of this method is to call |
| public Locale | getDefaultLocale()
Implements abstract jakarta.
The default behavior of this method is to call |
| public String | getDefaultRenderKitId()
Implements abstract jakarta.
The default behavior of this method is to call |
| public Map | getDefaultValidatorInfo()
Overrides jakarta.
The default behavior of this method is to call |
| public ELContextListener[] | getELContextListeners()
Overrides jakarta.
The default behavior of this method is to call |
| public ELResolver | getELResolver()
Overrides jakarta.
The default behavior of this method is to call |
| public ExpressionFactory | getExpressionFactory()
Overrides jakarta.
The default behavior of this method is to call |
| public FlowHandler | getFlowHandler()
Overrides jakarta.
Return the thread-safe singleton |
| public String | getMessageBundle()
Implements abstract jakarta.
The default behavior of this method is to call |
| public NavigationHandler | getNavigationHandler()
Implements abstract jakarta.
The default behavior of this method is to call |
| public ProjectStage | getProjectStage()
Overrides jakarta.
The default behavior of this method is to call |
| public ResourceBundle | getResourceBundle(FacesContext
the Faces context. ctx, String the name of the resource bundle. name)Overrides jakarta.
The default behavior of this method is to call
|
| public ResourceHandler | getResourceHandler()
Overrides jakarta.
The default behavior of this method is to call |
| public SearchExpressionHandler | getSearchExpressionHandler()
Overrides jakarta.
Return the thread-safe singleton |
| public SearchKeywordResolver | getSearchKeywordResolver()
Overrides jakarta.
Return the singleton |
| public StateManager | getStateManager()
Implements abstract jakarta.
The default behavior of this method is to call |
| public Iterator | getSupportedLocales()
Implements abstract jakarta.
The default behavior of this method is to call |
| public Iterator | getValidatorIds()
Implements abstract jakarta.
The default behavior of this method is to call |
| public ViewHandler | getViewHandler()
Implements abstract jakarta.
The default behavior of this method is to call |
| public Application | getWrapped()
Implements jakarta. A class that implements this interface uses this method to return an instance of the class being wrapped. |
| public void | publishEvent(FacesContext
the context, Class<? extends SystemEvent> FacesContext for the current requestThe systemEventClass, Object Class of event that is being published.The source for the event of type source)systemEventClass.Overrides jakarta.
The default behavior of this method is to call
|
| public void | publishEvent(FacesContext
the context, Class<? extends SystemEvent> FacesContext for the current requestThe systemEventClass, Class<?> Class of event that is being published.The sourceBaseType, Object Class of the source event that must be used to lookup the listener to which
this event must be published. If this argument is null the return from source.getClass()
must be used as the sourceBaseType.The source for the event of type source)systemEventClass.Overrides jakarta.
The default behavior of this method is to call
|
| public void | removeELContextListener(ELContextListener
the Jakarta Expression Language context listener to remove. listener)Overrides jakarta.
The default behavior of this method is to call
|
| public void | setActionListener(ActionListener
The new default listener)ActionListenerImplements abstract jakarta.
The default behavior of this method is to call
|
| public void | setDefaultLocale(Locale
The new default locale)LocaleImplements abstract jakarta.
The default behavior of this method is to call |
| public void | setDefaultRenderKitId(String
the render kit id to set. renderKitId)Implements abstract jakarta.
The default behavior of this method is to call |
| public void | setFlowHandler(FlowHandler
the flow handler to set. newHandler)Overrides jakarta.
Set the |
| public void | setMessageBundle(String
Base name of the resource bundle to be used bundle)Implements abstract jakarta.
The default behavior of this method is to call |
| public void | setNavigationHandler(NavigationHandler
The new handler)NavigationHandler instanceImplements abstract jakarta.
The default behavior of this method is to call |
| public void | setResourceHandler(ResourceHandler
The new resourceHandler)ResourceHandler instanceOverrides jakarta.
The default behavior of this method is to call
|
| public void | setSearchExpressionHandler(SearchExpressionHandler searchExpressionHandler)
Overrides jakarta.
Set the |
| public void | setStateManager(StateManager
The new manager)StateManager instanceImplements abstract jakarta.
The default behavior of this method is to call
|
| public void | setSupportedLocales(Collection<Locale>
The set of supported locales)Locales for this applicationImplements abstract jakarta.
The default behavior of this method is to call |
| public void | setViewHandler(ViewHandler
The new handler)ViewHandler instanceImplements abstract jakarta.
The default behavior of this method is to call
|
| public void | subscribeToEvent(Class<? extends SystemEvent>
the systemEventClass, Class<?> Class of event for which listener must be fired.the sourceClass, SystemEventListener Class of the instance which causes events of type systemEventClass
to be fired. May be null.the implementation of listener)jakarta. whose
jakarta. method must be called when events of type
systemEventClass are fired.Overrides jakarta.
The default behavior of this method is to call
|
| public void | subscribeToEvent(Class<? extends SystemEvent>
the systemEventClass, SystemEventListener Class of event for which listener must be fired.the implementation of listener)jakarta. whose
jakarta. method must be called when events of type
systemEventClass are fired.
See Overrides jakarta.
The default behavior of this method is to call
|
| public void | unsubscribeFromEvent(Class<? extends SystemEvent>
the systemEventClass, Class<?> Class of event for which listener must be fired.the sourceClass, SystemEventListener Class of the instance which causes events of type systemEventClass
to be fired. May be null.the implementation of listener)jakarta. to remove from the internal
data structure.Overrides jakarta.
The default behavior of this method is to call
|
| public void | unsubscribeFromEvent(Class<? extends SystemEvent>
the systemEventClass, SystemEventListener Class of event for which listener must be fired.the implementation of listener)jakarta. to remove from the internal
data structure.Overrides jakarta.
The default behavior of this method is to call
|