| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.application.Application
javax.faces.application.ApplicationWrapper
public abstract class ApplicationWrapper
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 override getWrapped() to
 return the instance we are wrapping.
| Constructor Summary | |
|---|---|
ApplicationWrapper()
 | 
|
| Method Summary | ||
|---|---|---|
 void | 
addBehavior(java.lang.String behaviorId,
            java.lang.String behaviorClass)
The default behavior of this method
 is to call   | 
|
 void | 
addComponent(java.lang.String componentType,
             java.lang.String componentClass)
The default behavior of this method
 is to call   | 
|
 void | 
addConverter(java.lang.Class<?> targetClass,
             java.lang.String converterClass)
The default behavior of this method
 is to call   | 
|
 void | 
addConverter(java.lang.String converterId,
             java.lang.String converterClass)
The default behavior of this method
 is to call   | 
|
 void | 
addDefaultValidatorId(java.lang.String validatorId)
The default behavior of this method
 is to call   | 
|
 void | 
addELContextListener(ELContextListener listener)
The default behavior of this method
 is to call   | 
|
 void | 
addELResolver(ELResolver resolver)
The default behavior of this method
 is to call   | 
|
 void | 
addValidator(java.lang.String validatorId,
             java.lang.String validatorClass)
The default behavior of this method
 is to call   | 
|
 Behavior | 
createBehavior(java.lang.String behaviorId)
The default behavior of this method
 is to call   | 
|
 UIComponent | 
createComponent(FacesContext context,
                Resource componentResource)
The default behavior of this method
 is to call   | 
|
 UIComponent | 
createComponent(FacesContext context,
                java.lang.String componentType,
                java.lang.String rendererType)
The default behavior of this method
 is to call   | 
|
 UIComponent | 
createComponent(java.lang.String componentType)
The default behavior of this method
 is to call   | 
|
 UIComponent | 
createComponent(ValueBinding componentBinding,
                FacesContext context,
                java.lang.String componentType)
The default behavior of this method
 is to call   | 
|
 UIComponent | 
createComponent(ValueExpression componentExpression,
                FacesContext context,
                java.lang.String componentType)
The default behavior of this method
 is to call   | 
|
 UIComponent | 
createComponent(ValueExpression componentExpression,
                FacesContext context,
                java.lang.String componentType,
                java.lang.String rendererType)
The default behavior of this method
 is to call   | 
|
 Converter | 
createConverter(java.lang.Class<?> targetClass)
The default behavior of this method
 is to call   | 
|
 Converter | 
createConverter(java.lang.String converterId)
The default behavior of this method
 is to call   | 
|
 MethodBinding | 
createMethodBinding(java.lang.String ref,
                    java.lang.Class<?>[] params)
The default behavior of this method
 is to call   | 
|
 Validator | 
createValidator(java.lang.String validatorId)
The default behavior of this method
 is to call   | 
|
 ValueBinding | 
createValueBinding(java.lang.String ref)
The default behavior of this method
 is to call   | 
|
 | 
evaluateExpressionGet(FacesContext context,
                      java.lang.String expression,
                      java.lang.Class<? extends T> expectedType)
The default behavior of this method
 is to call   | 
|
 ActionListener | 
getActionListener()
The default behavior of this method
 is to call   | 
|
 java.util.Iterator<java.lang.String> | 
getBehaviorIds()
The default behavior of this method
 is to call   | 
|
 java.util.Iterator<java.lang.String> | 
getComponentTypes()
The default behavior of this method
 is to call   | 
|
 java.util.Iterator<java.lang.String> | 
getConverterIds()
The default behavior of this method
 is to call   | 
|
 java.util.Iterator<java.lang.Class<?>> | 
getConverterTypes()
The default behavior of this method
 is to call   | 
|
 java.util.Locale | 
getDefaultLocale()
The default behavior of this method
 is to call   | 
|
 java.lang.String | 
getDefaultRenderKitId()
The default behavior of this method
 is to call   | 
|
 java.util.Map<java.lang.String,java.lang.String> | 
getDefaultValidatorInfo()
The default behavior of this method
 is to call   | 
|
 ELContextListener[] | 
getELContextListeners()
The default behavior of this method
 is to call   | 
|
 ELResolver | 
getELResolver()
The default behavior of this method
 is to call   | 
|
 ExpressionFactory | 
getExpressionFactory()
The default behavior of this method
 is to call   | 
|
 java.lang.String | 
getMessageBundle()
The default behavior of this method
 is to call   | 
|
 NavigationHandler | 
getNavigationHandler()
The default behavior of this method
 is to call   | 
|
 ProjectStage | 
getProjectStage()
The default behavior of this method
 is to call   | 
|
 PropertyResolver | 
getPropertyResolver()
The default behavior of this method
 is to call   | 
|
 java.util.ResourceBundle | 
getResourceBundle(FacesContext ctx,
                  java.lang.String name)
The default behavior of this method
 is to call   | 
|
 ResourceHandler | 
getResourceHandler()
The default behavior of this method
 is to call   | 
|
 StateManager | 
getStateManager()
The default behavior of this method
 is to call   | 
|
 java.util.Iterator<java.util.Locale> | 
getSupportedLocales()
The default behavior of this method
 is to call   | 
|
 java.util.Iterator<java.lang.String> | 
getValidatorIds()
The default behavior of this method
 is to call   | 
|
 VariableResolver | 
getVariableResolver()
The default behavior of this method
 is to call   | 
|
 ViewHandler | 
getViewHandler()
The default behavior of this method
 is to call   | 
|
abstract  Application | 
getWrapped()
A class that implements this interface uses this method to return an instance of the class being wrapped.  | 
|
 void | 
publishEvent(FacesContext context,
             java.lang.Class<? extends SystemEvent> systemEventClass,
             java.lang.Class<?> sourceBaseType,
             java.lang.Object source)
The default behavior of this method
 is to call   | 
|
 void | 
publishEvent(FacesContext context,
             java.lang.Class<? extends SystemEvent> systemEventClass,
             java.lang.Object source)
The default behavior of this method
 is to call   | 
|
 void | 
removeELContextListener(ELContextListener listener)
The default behavior of this method
 is to call   | 
|
 void | 
setActionListener(ActionListener listener)
The default behavior of this method
 is to call   | 
|
 void | 
setDefaultLocale(java.util.Locale locale)
The default behavior of this method
 is to call   | 
|
 void | 
setDefaultRenderKitId(java.lang.String renderKitId)
The default behavior of this method
 is to call   | 
|
 void | 
setMessageBundle(java.lang.String bundle)
The default behavior of this method
 is to call   | 
|
 void | 
setNavigationHandler(NavigationHandler handler)
The default behavior of this method
 is to call   | 
|
 void | 
setPropertyResolver(PropertyResolver resolver)
The default behavior of this method
 is to call   | 
|
 void | 
setResourceHandler(ResourceHandler resourceHandler)
The default behavior of this method
 is to call   | 
|
 void | 
setStateManager(StateManager manager)
The default behavior of this method
 is to call   | 
|
 void | 
setSupportedLocales(java.util.Collection<java.util.Locale> locales)
The default behavior of this method
 is to call   | 
|
 void | 
setVariableResolver(VariableResolver resolver)
The default behavior of this method
 is to call   | 
|
 void | 
setViewHandler(ViewHandler handler)
The default behavior of this method
 is to call   | 
|
 void | 
subscribeToEvent(java.lang.Class<? extends SystemEvent> systemEventClass,
                 java.lang.Class<?> sourceClass,
                 SystemEventListener listener)
The default behavior of this method
 is to call   | 
|
 void | 
subscribeToEvent(java.lang.Class<? extends SystemEvent> systemEventClass,
                 SystemEventListener listener)
The default behavior of this method
 is to call   | 
|
 void | 
unsubscribeFromEvent(java.lang.Class<? extends SystemEvent> systemEventClass,
                     java.lang.Class<?> sourceClass,
                     SystemEventListener listener)
The default behavior of this method
 is to call   | 
|
 void | 
unsubscribeFromEvent(java.lang.Class<? extends SystemEvent> systemEventClass,
                     SystemEventListener listener)
The default behavior of this method
 is to call   | 
|
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ApplicationWrapper()
| Method Detail | 
|---|
public abstract Application getWrapped()
FacesWrapperA class that implements this interface uses this method to return an instance of the class being wrapped.
getWrapped in interface FacesWrapper<Application>public ActionListener getActionListener()
The default behavior of this method
 is to call Application#getActionListener on the
 wrapped Application object.
getActionListener in class Applicationpublic void setActionListener(ActionListener listener)
The default behavior of this method
 is to call Application#setActionListener(javax.faces.event.ActionListener)
 on the wrapped Application object.
setActionListener in class Applicationlistener - The new default ActionListenerpublic java.util.Locale getDefaultLocale()
The default behavior of this method
 is to call Application#getDefaultLocale on the
 wrapped Application object.
getDefaultLocale in class Applicationpublic void setDefaultLocale(java.util.Locale locale)
The default behavior of this method
 is to call Application#setDefaultLocale(java.util.Locale) on the
 wrapped Application object.
setDefaultLocale in class Applicationlocale - The new default Localepublic java.lang.String getDefaultRenderKitId()
The default behavior of this method
 is to call Application#getDefaultRenderKitId on the
 wrapped Application object.
getDefaultRenderKitId in class Applicationpublic void addDefaultValidatorId(java.lang.String validatorId)
The default behavior of this method
 is to call Application#addDefaultValidatorId(String) on the
 wrapped Application object.
addDefaultValidatorId in class Applicationpublic java.util.Map<java.lang.String,java.lang.String> getDefaultValidatorInfo()
The default behavior of this method
 is to call Application#getDefaultValidatorInfo on the
 wrapped Application object.
getDefaultValidatorInfo in class Applicationpublic void setDefaultRenderKitId(java.lang.String renderKitId)
The default behavior of this method
 is to call Application#setDefaultRenderKitId(String) on the
 wrapped Application object.
setDefaultRenderKitId in class Applicationpublic java.lang.String getMessageBundle()
The default behavior of this method
 is to call Application#getMessageBundle on the
 wrapped Application object.
getMessageBundle in class Applicationpublic void setMessageBundle(java.lang.String bundle)
The default behavior of this method
 is to call Application#setMessageBundle(String) on the
 wrapped Application object.
setMessageBundle in class Applicationbundle - Base name of the resource bundle to be usedpublic NavigationHandler getNavigationHandler()
The default behavior of this method
 is to call Application#getNavigationHandler on the
 wrapped Application object.
getNavigationHandler in class Applicationpublic void setNavigationHandler(NavigationHandler handler)
The default behavior of this method
 is to call Application#setNavigationHandler(NavigationHandler) on the
 wrapped Application object.
setNavigationHandler in class Applicationhandler - The new NavigationHandler instancepublic PropertyResolver getPropertyResolver()
The default behavior of this method
 is to call Application#getPropertyResolver on the
 wrapped Application object.
getPropertyResolver in class Applicationpublic void setPropertyResolver(PropertyResolver resolver)
The default behavior of this method
 is to call Application#setPropertyResolver(javax.faces.el.PropertyResolver) on the
 wrapped Application object.
setPropertyResolver in class Applicationresolver - The new PropertyResolver instancepublic VariableResolver getVariableResolver()
The default behavior of this method
 is to call Application#getVariableResolver on the
 wrapped Application object.
getVariableResolver in class Applicationpublic void setVariableResolver(VariableResolver resolver)
The default behavior of this method
 is to call Application#setVariableResolver(javax.faces.el.VariableResolver) on the
 wrapped Application object.
setVariableResolver in class Applicationresolver - The new VariableResolver instancepublic ViewHandler getViewHandler()
The default behavior of this method
 is to call Application#getViewHandler on the
 wrapped Application object.
getViewHandler in class Applicationpublic void setViewHandler(ViewHandler handler)
The default behavior of this method
 is to call Application#setViewHandler(ViewHandler) on the
 wrapped Application object.
setViewHandler in class Applicationhandler - The new ViewHandler instancepublic StateManager getStateManager()
The default behavior of this method
 is to call Application#getStateManager on the
 wrapped Application object.
getStateManager in class Applicationpublic void setStateManager(StateManager manager)
The default behavior of this method
 is to call Application#setStateManager(StateManager) on the
 wrapped Application object.
setStateManager in class Applicationmanager - The new StateManager instance
public void addComponent(java.lang.String componentType,
                         java.lang.String componentClass)
The default behavior of this method
 is to call Application#addComponent(String, String) on the
 wrapped Application object.
addComponent in class ApplicationcomponentType - The component type to be registeredcomponentClass - The fully qualified class name of the
  corresponding UIComponent implementation
public UIComponent createComponent(java.lang.String componentType)
                            throws FacesException
The default behavior of this method
 is to call Application#createComponent(String) on the
 wrapped Application object.
createComponent in class ApplicationcomponentType - The component type for which to create and
 return a new UIComponent instance
FacesException - if a UIComponent of the
  specified type cannot be created
public UIComponent createComponent(ValueBinding componentBinding,
                                   FacesContext context,
                                   java.lang.String componentType)
                            throws FacesException
The default behavior of this method
 is to call Application#createComponent(javax.faces.el.ValueBinding, javax.faces.context.FacesContext, String)
 on the wrapped Application object.
createComponent in class ApplicationcomponentBinding - ValueBinding representing a
 component value binding expression (typically specified by the
 component attribute of a custom tag)context - FacesContext for the current requestcomponentType - Component type to create if the ValueBinding
  does not return a component instance
FacesException - if a UIComponent cannot be createdpublic java.util.Iterator<java.lang.String> getComponentTypes()
The default behavior of this method
 is to call Application#getComponentTypes on the
 wrapped Application object.
getComponentTypes in class Application
public void addConverter(java.lang.String converterId,
                         java.lang.String converterClass)
The default behavior of this method
 is to call Application#addConverter(String, String) on the
 wrapped Application object.
addConverter in class ApplicationconverterId - The converter id to be registeredconverterClass - The fully qualified class name of the
  corresponding Converter implementation
public void addConverter(java.lang.Class<?> targetClass,
                         java.lang.String converterClass)
The default behavior of this method
 is to call Application#addConverter(Class, String) on the
 wrapped Application object.
addConverter in class ApplicationtargetClass - The class for which this converter is registeredconverterClass - The fully qualified class name of the
  corresponding Converter implementationpublic Converter createConverter(java.lang.String converterId)
The default behavior of this method
 is to call Application#createConverter(String) on the
 wrapped Application object.
createConverter in class ApplicationconverterId - The converter id for which to create and
  return a new Converter instancepublic Converter createConverter(java.lang.Class<?> targetClass)
The default behavior of this method
 is to call Application#createConverter(Class) on the
 wrapped Application object.
createConverter in class ApplicationtargetClass - Target class for which to return a Converterpublic java.util.Iterator<java.lang.String> getConverterIds()
The default behavior of this method
 is to call Application#getConverterIds on the
 wrapped Application object.
getConverterIds in class Applicationpublic java.util.Iterator<java.lang.Class<?>> getConverterTypes()
The default behavior of this method
 is to call Application#getConverterTypes on the
 wrapped Application object.
getConverterTypes in class Application
public MethodBinding createMethodBinding(java.lang.String ref,
                                         java.lang.Class<?>[] params)
                                  throws ReferenceSyntaxException
The default behavior of this method
 is to call Application#createMethodBinding(String, Class[]) on the
 wrapped Application object.
createMethodBinding in class Applicationref - Method binding expression for which to return a
  MethodBinding instanceparams - Parameter signatures that must be compatible with those
  of the method to be invoked, or a zero-length array or null
  for a method that takes no parameters
ReferenceSyntaxException - if the specified ref
  has invalid syntaxpublic java.util.Iterator<java.util.Locale> getSupportedLocales()
The default behavior of this method
 is to call Application#getSupportedLocales on the
 wrapped Application object.
getSupportedLocales in class Applicationpublic void setSupportedLocales(java.util.Collection<java.util.Locale> locales)
The default behavior of this method
 is to call Application#setSupportedLocales(java.util.Collection) on the
 wrapped Application object.
setSupportedLocales in class Applicationlocales - The set of supported Locales
  for this application
public void addBehavior(java.lang.String behaviorId,
                        java.lang.String behaviorClass)
The default behavior of this method
 is to call Application#addBehavior(String, String) on the
 wrapped Application object.
addBehavior in class ApplicationbehaviorId - The behavior id to be registeredbehaviorClass - The fully qualified class name of the
  corresponding Behavior implementation
public Behavior createBehavior(java.lang.String behaviorId)
                        throws FacesException
The default behavior of this method
 is to call Application#createBehavior(String) on the
 wrapped Application object.
createBehavior in class ApplicationbehaviorId - The behavior id for which to create and
  return a new Behavior instance
FacesException - if the Behavior cannot be
  createdpublic java.util.Iterator<java.lang.String> getBehaviorIds()
The default behavior of this method
 is to call Application#getBehaviorIds on the
 wrapped Application object.
getBehaviorIds in class Application
public void addValidator(java.lang.String validatorId,
                         java.lang.String validatorClass)
The default behavior of this method
 is to call Application#addValidator(String, String) on the
 wrapped Application object.
addValidator in class ApplicationvalidatorId - The validator id to be registeredvalidatorClass - The fully qualified class name of the
  corresponding Validator implementation
public Validator createValidator(java.lang.String validatorId)
                          throws FacesException
The default behavior of this method
 is to call Application#createValidator(String) on the
 wrapped Application object.
createValidator in class ApplicationvalidatorId - The validator id for which to create and
  return a new Validator instance
FacesException - if a Validator of the
  specified id cannot be createdpublic java.util.Iterator<java.lang.String> getValidatorIds()
The default behavior of this method
 is to call Application#getValidatorIds on the
 wrapped Application object.
getValidatorIds in class Application
public ValueBinding createValueBinding(java.lang.String ref)
                                throws ReferenceSyntaxException
The default behavior of this method
 is to call Application#createValueBinding(String) on the
 wrapped Application object.
createValueBinding in class Applicationref - Value binding expression for which to return a
  ValueBinding instance
ReferenceSyntaxException - if the specified ref
  has invalid syntaxpublic ResourceHandler getResourceHandler()
The default behavior of this method
 is to call Application#getResourceHandler on the
 wrapped Application object.
getResourceHandler in class Applicationpublic void setResourceHandler(ResourceHandler resourceHandler)
The default behavior of this method
 is to call Application#setResourceHandler(ResourceHandler) on the
 wrapped Application object.
setResourceHandler in class ApplicationresourceHandler - The new ResourceHandler instance
public java.util.ResourceBundle getResourceBundle(FacesContext ctx,
                                                  java.lang.String name)
The default behavior of this method
 is to call Application#getResourceBundle(javax.faces.context.FacesContext, String) on the
 wrapped Application object.
getResourceBundle in class ApplicationResourceBundle for the current UIViewRoot,
 otherwise nullpublic ProjectStage getProjectStage()
The default behavior of this method
 is to call Application#getProjectStage on the
 wrapped Application object.
getProjectStage in class Applicationpublic void addELResolver(ELResolver resolver)
The default behavior of this method
 is to call Application#addELResolver(javax.el.ELResolver) on the
 wrapped Application object.
addELResolver in class Applicationpublic ELResolver getELResolver()
The default behavior of this method
 is to call Application#getELResolver on the
 wrapped Application object.
getELResolver in class Application
public UIComponent createComponent(ValueExpression componentExpression,
                                   FacesContext context,
                                   java.lang.String componentType)
                            throws FacesException
The default behavior of this method
 is to call Application#createComponent(javax.el.ValueExpression, javax.faces.context.FacesContext, String)
 on the wrapped Application object.
createComponent in class ApplicationcomponentExpression - ValueExpression representing a
 component value expression (typically specified by the
 component attribute of a custom tag)context - FacesContext for the current requestcomponentType - Component type to create if the ValueExpression does not return a component instance
FacesException - if a UIComponent cannot be created
public UIComponent createComponent(ValueExpression componentExpression,
                                   FacesContext context,
                                   java.lang.String componentType,
                                   java.lang.String rendererType)
The default behavior of this method
 is to call Application#createComponent(javax.el.ValueExpression, javax.faces.context.FacesContext, String, String)
 on the wrapped Application object.
createComponent in class ApplicationcomponentExpression - ValueExpression representing a
 component value expression (typically specified by the
 component attribute of a custom tag)context - FacesContext for the current requestcomponentType - Component type to create if the ValueExpression does not return a component instancerendererType - The renderer-type of the
 Renderer that will render this component.  A
 null value must be accepted for this parameter.
public UIComponent createComponent(FacesContext context,
                                   java.lang.String componentType,
                                   java.lang.String rendererType)
The default behavior of this method
 is to call Application#createComponent(javax.faces.context.FacesContext, String, String)
 on the wrapped Application object.
createComponent in class Applicationcontext - FacesContext for the current requestcomponentType - Component type to createrendererType - The renderer-type of the
 Renderer that will render this component.  A
 null value must be accepted for this parameter.
public UIComponent createComponent(FacesContext context,
                                   Resource componentResource)
The default behavior of this method
 is to call Application#createComponent(javax.faces.context.FacesContext, Resource)
 on the wrapped Application object.
createComponent in class Applicationcontext - FacesContext for the current requestcomponentResource - A Resource that points to a
 source file that provides an implementation of a component.public ExpressionFactory getExpressionFactory()
The default behavior of this method
 is to call Application#getExpressionFactory on the
 wrapped Application object.
getExpressionFactory in class Application
public <T> T evaluateExpressionGet(FacesContext context,
                                   java.lang.String expression,
                                   java.lang.Class<? extends T> expectedType)
                        throws ELException
The default behavior of this method
 is to call Application#evaluateExpressionGet(javax.faces.context.FacesContext, String, Class)
 on the wrapped Application object.
evaluateExpressionGet in class ApplicationELExceptionpublic void addELContextListener(ELContextListener listener)
The default behavior of this method
 is to call Application#addELContextListener(javax.el.ELContextListener) on the
 wrapped Application object.
addELContextListener in class Applicationpublic void removeELContextListener(ELContextListener listener)
The default behavior of this method
 is to call Application#removeELContextListener(javax.el.ELContextListener) on the
 wrapped Application object.
removeELContextListener in class Applicationpublic ELContextListener[] getELContextListeners()
The default behavior of this method
 is to call Application#getELContextListeners on the
 wrapped Application object.
getELContextListeners in class Application
public void publishEvent(FacesContext context,
                         java.lang.Class<? extends SystemEvent> systemEventClass,
                         java.lang.Object source)
The default behavior of this method
 is to call Application#publishEvent(javax.faces.context.FacesContext, Class, Object)
 on the wrapped Application object.
publishEvent in class Applicationcontext - the FacesContext for the current requestsystemEventClass - The Class of event that is
 being published.source - The source for the event of type
 systemEventClass.
public void publishEvent(FacesContext context,
                         java.lang.Class<? extends SystemEvent> systemEventClass,
                         java.lang.Class<?> sourceBaseType,
                         java.lang.Object source)
The default behavior of this method
 is to call Application#publishEvent(javax.faces.context.FacesContext, Class, Class, Object)
 on the wrapped Application object.
publishEvent in class Applicationcontext - the FacesContext for the current requestsystemEventClass - The Class of event that is
 being published.sourceBaseType - The 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.source - The source for the event of type
 systemEventClass.
public void subscribeToEvent(java.lang.Class<? extends SystemEvent> systemEventClass,
                             java.lang.Class<?> sourceClass,
                             SystemEventListener listener)
The default behavior of this method
 is to call Application#subscribeToEvent(Class, Class, javax.faces.event.SystemEventListener) on the
 wrapped Application object.
subscribeToEvent in class ApplicationsystemEventClass - the Class of event for which
 listener must be fired.sourceClass - the Class of the instance which
 causes events of type systemEventClass to be fired.
 May be null.listener - the implementation of SystemEventListener whose SystemEventListener.processEvent(javax.faces.event.SystemEvent) method must be called when
 events of type systemEventClass are fired.
public void subscribeToEvent(java.lang.Class<? extends SystemEvent> systemEventClass,
                             SystemEventListener listener)
The default behavior of this method
 is to call Application#subscribeToEvent(Class, javax.faces.event.SystemEventListener) on the
 wrapped Application object.
subscribeToEvent in class ApplicationsystemEventClass - the Class of event for which
 listener must be fired.listener - the implementation of SystemEventListener whose SystemEventListener.processEvent(javax.faces.event.SystemEvent) method must
 be called when events of type systemEventClass are
 fired.
public void unsubscribeFromEvent(java.lang.Class<? extends SystemEvent> systemEventClass,
                                 java.lang.Class<?> sourceClass,
                                 SystemEventListener listener)
The default behavior of this method
 is to call Application#unsubscribeFromEvent(Class, Class, javax.faces.event.SystemEventListener) on the
 wrapped Application object.
unsubscribeFromEvent in class ApplicationsystemEventClass - the Class of event for which
 listener must be fired.sourceClass - the Class of the instance which
 causes events of type systemEventClass to be fired.
 May be null.listener - the implementation of SystemEventListener to remove from the internal data
 structure.
public void unsubscribeFromEvent(java.lang.Class<? extends SystemEvent> systemEventClass,
                                 SystemEventListener listener)
The default behavior of this method
 is to call Application#unsubscribeFromEvent(Class, javax.faces.event.SystemEventListener) on the
 wrapped Application object.
unsubscribeFromEvent in class ApplicationsystemEventClass - the Class of event for which
 listener must be fired.listener - the implementation of SystemEventListener to remove from the internal data
 structure.
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41