com.liferay.faces.bridge.application
Class ApplicationCompatImpl

java.lang.Object
  extended by javax.faces.application.Application
      extended by javax.faces.application.ApplicationWrapper
          extended by com.liferay.faces.bridge.application.ApplicationCompatImpl
All Implemented Interfaces:
javax.faces.FacesWrapper<javax.faces.application.Application>
Direct Known Subclasses:
ApplicationImpl

public abstract class ApplicationCompatImpl
extends javax.faces.application.ApplicationWrapper

This class provides a compatibility layer that isolates differences between JSF1 and JSF2.

Author:
Neil Griffin

Constructor Summary
ApplicationCompatImpl(javax.faces.application.Application application)
           
 
Method Summary
 javax.faces.component.UIComponent createComponent(javax.faces.context.FacesContext facesContext, String componentType, String rendererType)
           
 javax.faces.application.ResourceHandler getResourceHandler()
           
 javax.faces.application.Application getWrapped()
           
protected  void subscribeToJSF2SystemEvent(ConfiguredSystemEventListener configuredSystemEventListener)
           
 
Methods inherited from class javax.faces.application.ApplicationWrapper
addBehavior, addComponent, addConverter, addConverter, addDefaultValidatorId, addELContextListener, addELResolver, addValidator, createBehavior, createComponent, createComponent, createComponent, createComponent, createComponent, createConverter, createConverter, createMethodBinding, createValidator, createValueBinding, evaluateExpressionGet, getActionListener, getBehaviorIds, getComponentTypes, getConverterIds, getConverterTypes, getDefaultLocale, getDefaultRenderKitId, getDefaultValidatorInfo, getELContextListeners, getELResolver, getExpressionFactory, getMessageBundle, getNavigationHandler, getProjectStage, getPropertyResolver, getResourceBundle, getStateManager, getSupportedLocales, getValidatorIds, getVariableResolver, getViewHandler, publishEvent, publishEvent, removeELContextListener, setActionListener, setDefaultLocale, setDefaultRenderKitId, setMessageBundle, setNavigationHandler, setPropertyResolver, setResourceHandler, setStateManager, setSupportedLocales, setVariableResolver, setViewHandler, subscribeToEvent, subscribeToEvent, unsubscribeFromEvent, unsubscribeFromEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationCompatImpl

public ApplicationCompatImpl(javax.faces.application.Application application)
Method Detail

createComponent

public javax.faces.component.UIComponent createComponent(javax.faces.context.FacesContext facesContext,
                                                         String componentType,
                                                         String rendererType)
Overrides:
createComponent in class javax.faces.application.ApplicationWrapper

subscribeToJSF2SystemEvent

protected void subscribeToJSF2SystemEvent(ConfiguredSystemEventListener configuredSystemEventListener)

getResourceHandler

public javax.faces.application.ResourceHandler getResourceHandler()
Overrides:
getResourceHandler in class javax.faces.application.ApplicationWrapper
Since:
JSF 2.0
See Also:
Application#getResourceHandler()}

getWrapped

public javax.faces.application.Application getWrapped()
Specified by:
getWrapped in interface javax.faces.FacesWrapper<javax.faces.application.Application>
Overrides:
getWrapped in class javax.faces.application.ApplicationWrapper
See Also:
ApplicationWrapper.getWrapped()


Copyright © 2014 Liferay, Inc.. All Rights Reserved.