org.apache.myfaces.application
Class ApplicationImpl

java.lang.Object
  extended by javax.faces.application.Application
      extended by org.apache.myfaces.application.ApplicationImpl

public class ApplicationImpl
extends javax.faces.application.Application

DOCUMENT ME!

Version:
$Revision: 524598 $ $Date: 2007-04-01 16:19:55 +0200 (So, 01 Apr 2007) $
Author:
Manfred Geiler (latest modification by $Author: mbr $), Anton Koinov, Thomas Spiegl, Stan Silvert

Constructor Summary
ApplicationImpl()
           
 
Method Summary
 void addComponent(java.lang.String componentType, java.lang.String componentClassName)
           
 void addConverter(java.lang.Class targetClass, java.lang.String converterClass)
           
 void addConverter(java.lang.String converterId, java.lang.String converterClass)
           
 void addConverterConfiguration(java.lang.String converterClassName, Converter configuration)
           
 void addELContextListener(javax.el.ELContextListener listener)
           
 void addELResolver(javax.el.ELResolver resolver)
           
 void addValidator(java.lang.String validatorId, java.lang.String validatorClass)
           
 javax.faces.component.UIComponent createComponent(java.lang.String componentType)
           
 javax.faces.component.UIComponent createComponent(javax.faces.el.ValueBinding valueBinding, javax.faces.context.FacesContext facesContext, java.lang.String componentType)
          Deprecated. Use createComponent(ValueExpression, FacesContext, String) instead.
 javax.faces.component.UIComponent createComponent(javax.el.ValueExpression componentExpression, javax.faces.context.FacesContext facesContext, java.lang.String componentType)
           
 javax.faces.convert.Converter createConverter(java.lang.Class targetClass)
           
 javax.faces.convert.Converter createConverter(java.lang.String converterId)
           
 javax.faces.el.MethodBinding createMethodBinding(java.lang.String reference, java.lang.Class[] params)
          Deprecated.  
 javax.faces.validator.Validator createValidator(java.lang.String validatorId)
           
 javax.faces.el.ValueBinding createValueBinding(java.lang.String reference)
          Deprecated.  
 java.lang.Object evaluateExpressionGet(javax.faces.context.FacesContext context, java.lang.String expression, java.lang.Class expectedType)
           
 javax.faces.event.ActionListener getActionListener()
           
 java.util.Iterator<java.lang.String> getComponentTypes()
           
 java.util.Iterator<java.lang.String> getConverterIds()
           
 java.util.Iterator<java.lang.Class> getConverterTypes()
           
 java.util.Locale getDefaultLocale()
           
 java.lang.String getDefaultRenderKitId()
           
 javax.el.ELContextListener[] getELContextListeners()
           
 javax.el.ELResolver getELResolver()
           
 javax.el.ExpressionFactory getExpressionFactory()
           
 java.lang.String getMessageBundle()
           
 javax.faces.application.NavigationHandler getNavigationHandler()
           
 javax.faces.el.PropertyResolver getPropertyResolver()
          Deprecated.  
protected  ELResolverBuilder getResolverBuilderForFaces()
           
 java.util.ResourceBundle getResourceBundle(javax.faces.context.FacesContext facesContext, java.lang.String name)
           
 javax.faces.application.StateManager getStateManager()
           
 java.util.Iterator<java.util.Locale> getSupportedLocales()
           
 java.util.Iterator<java.lang.String> getValidatorIds()
           
 javax.faces.el.VariableResolver getVariableResolver()
          Deprecated.  
 javax.faces.application.ViewHandler getViewHandler()
           
 void removeELContextListener(javax.el.ELContextListener listener)
           
 void setActionListener(javax.faces.event.ActionListener actionListener)
           
 void setDefaultLocale(java.util.Locale locale)
           
 void setDefaultRenderKitId(java.lang.String defaultRenderKitId)
           
static void setInitializingRuntimeConfig(RuntimeConfig config)
           
 void setMessageBundle(java.lang.String messageBundle)
           
 void setNavigationHandler(javax.faces.application.NavigationHandler navigationHandler)
           
 void setPropertyResolver(javax.faces.el.PropertyResolver propertyResolver)
          Deprecated.  
 void setResolverBuilderForFaces(ELResolverBuilder factory)
           
 void setStateManager(javax.faces.application.StateManager stateManager)
           
 void setSupportedLocales(java.util.Collection<java.util.Locale> locales)
           
 void setVariableResolver(javax.faces.el.VariableResolver variableResolver)
          Deprecated.  
 void setViewHandler(javax.faces.application.ViewHandler viewHandler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationImpl

public ApplicationImpl()
Method Detail

setInitializingRuntimeConfig

public static void setInitializingRuntimeConfig(RuntimeConfig config)

addELResolver

public void addELResolver(javax.el.ELResolver resolver)
Overrides:
addELResolver in class javax.faces.application.Application

getELResolver

public javax.el.ELResolver getELResolver()
Overrides:
getELResolver in class javax.faces.application.Application

getResolverBuilderForFaces

protected ELResolverBuilder getResolverBuilderForFaces()

setResolverBuilderForFaces

public void setResolverBuilderForFaces(ELResolverBuilder factory)

getResourceBundle

public java.util.ResourceBundle getResourceBundle(javax.faces.context.FacesContext facesContext,
                                                  java.lang.String name)
                                           throws javax.faces.FacesException,
                                                  java.lang.NullPointerException
Overrides:
getResourceBundle in class javax.faces.application.Application
Throws:
javax.faces.FacesException
java.lang.NullPointerException

createComponent

public javax.faces.component.UIComponent createComponent(javax.el.ValueExpression componentExpression,
                                                         javax.faces.context.FacesContext facesContext,
                                                         java.lang.String componentType)
                                                  throws javax.faces.FacesException,
                                                         java.lang.NullPointerException
Overrides:
createComponent in class javax.faces.application.Application
Throws:
javax.faces.FacesException
java.lang.NullPointerException

getExpressionFactory

public javax.el.ExpressionFactory getExpressionFactory()
Overrides:
getExpressionFactory in class javax.faces.application.Application

evaluateExpressionGet

public java.lang.Object evaluateExpressionGet(javax.faces.context.FacesContext context,
                                              java.lang.String expression,
                                              java.lang.Class expectedType)
                                       throws javax.el.ELException
Overrides:
evaluateExpressionGet in class javax.faces.application.Application
Throws:
javax.el.ELException

addELContextListener

public void addELContextListener(javax.el.ELContextListener listener)
Overrides:
addELContextListener in class javax.faces.application.Application

removeELContextListener

public void removeELContextListener(javax.el.ELContextListener listener)
Overrides:
removeELContextListener in class javax.faces.application.Application

getELContextListeners

public javax.el.ELContextListener[] getELContextListeners()
Overrides:
getELContextListeners in class javax.faces.application.Application

setActionListener

public void setActionListener(javax.faces.event.ActionListener actionListener)
Specified by:
setActionListener in class javax.faces.application.Application

getActionListener

public javax.faces.event.ActionListener getActionListener()
Specified by:
getActionListener in class javax.faces.application.Application

getComponentTypes

public java.util.Iterator<java.lang.String> getComponentTypes()
Specified by:
getComponentTypes in class javax.faces.application.Application

getConverterIds

public java.util.Iterator<java.lang.String> getConverterIds()
Specified by:
getConverterIds in class javax.faces.application.Application

getConverterTypes

public java.util.Iterator<java.lang.Class> getConverterTypes()
Specified by:
getConverterTypes in class javax.faces.application.Application

setDefaultLocale

public void setDefaultLocale(java.util.Locale locale)
Specified by:
setDefaultLocale in class javax.faces.application.Application

getDefaultLocale

public java.util.Locale getDefaultLocale()
Specified by:
getDefaultLocale in class javax.faces.application.Application

setMessageBundle

public void setMessageBundle(java.lang.String messageBundle)
Specified by:
setMessageBundle in class javax.faces.application.Application

getMessageBundle

public java.lang.String getMessageBundle()
Specified by:
getMessageBundle in class javax.faces.application.Application

setNavigationHandler

public void setNavigationHandler(javax.faces.application.NavigationHandler navigationHandler)
Specified by:
setNavigationHandler in class javax.faces.application.Application

getNavigationHandler

public javax.faces.application.NavigationHandler getNavigationHandler()
Specified by:
getNavigationHandler in class javax.faces.application.Application

setPropertyResolver

@Deprecated
public void setPropertyResolver(javax.faces.el.PropertyResolver propertyResolver)
Deprecated. 

Specified by:
setPropertyResolver in class javax.faces.application.Application

getPropertyResolver

@Deprecated
public javax.faces.el.PropertyResolver getPropertyResolver()
Deprecated. 

Specified by:
getPropertyResolver in class javax.faces.application.Application

setSupportedLocales

public void setSupportedLocales(java.util.Collection<java.util.Locale> locales)
Specified by:
setSupportedLocales in class javax.faces.application.Application

getSupportedLocales

public java.util.Iterator<java.util.Locale> getSupportedLocales()
Specified by:
getSupportedLocales in class javax.faces.application.Application

getValidatorIds

public java.util.Iterator<java.lang.String> getValidatorIds()
Specified by:
getValidatorIds in class javax.faces.application.Application

setVariableResolver

@Deprecated
public void setVariableResolver(javax.faces.el.VariableResolver variableResolver)
Deprecated. 

Specified by:
setVariableResolver in class javax.faces.application.Application

getVariableResolver

@Deprecated
public javax.faces.el.VariableResolver getVariableResolver()
Deprecated. 

Specified by:
getVariableResolver in class javax.faces.application.Application

setViewHandler

public void setViewHandler(javax.faces.application.ViewHandler viewHandler)
Specified by:
setViewHandler in class javax.faces.application.Application

getViewHandler

public javax.faces.application.ViewHandler getViewHandler()
Specified by:
getViewHandler in class javax.faces.application.Application

addComponent

public void addComponent(java.lang.String componentType,
                         java.lang.String componentClassName)
Specified by:
addComponent in class javax.faces.application.Application

addConverter

public void addConverter(java.lang.String converterId,
                         java.lang.String converterClass)
Specified by:
addConverter in class javax.faces.application.Application

addConverter

public void addConverter(java.lang.Class targetClass,
                         java.lang.String converterClass)
Specified by:
addConverter in class javax.faces.application.Application

addConverterConfiguration

public void addConverterConfiguration(java.lang.String converterClassName,
                                      Converter configuration)

addValidator

public void addValidator(java.lang.String validatorId,
                         java.lang.String validatorClass)
Specified by:
addValidator in class javax.faces.application.Application

createComponent

public javax.faces.component.UIComponent createComponent(java.lang.String componentType)
                                                  throws javax.faces.FacesException
Specified by:
createComponent in class javax.faces.application.Application
Throws:
javax.faces.FacesException

createComponent

@Deprecated
public javax.faces.component.UIComponent createComponent(javax.faces.el.ValueBinding valueBinding,
                                                                    javax.faces.context.FacesContext facesContext,
                                                                    java.lang.String componentType)
                                                  throws javax.faces.FacesException
Deprecated. Use createComponent(ValueExpression, FacesContext, String) instead.

Specified by:
createComponent in class javax.faces.application.Application
Throws:
javax.faces.FacesException

createConverter

public javax.faces.convert.Converter createConverter(java.lang.String converterId)
Specified by:
createConverter in class javax.faces.application.Application

createConverter

public javax.faces.convert.Converter createConverter(java.lang.Class targetClass)
Specified by:
createConverter in class javax.faces.application.Application

createMethodBinding

@Deprecated
public javax.faces.el.MethodBinding createMethodBinding(java.lang.String reference,
                                                                   java.lang.Class[] params)
                                                 throws javax.faces.el.ReferenceSyntaxException
Deprecated. 

Specified by:
createMethodBinding in class javax.faces.application.Application
Throws:
javax.faces.el.ReferenceSyntaxException

createValidator

public javax.faces.validator.Validator createValidator(java.lang.String validatorId)
                                                throws javax.faces.FacesException
Specified by:
createValidator in class javax.faces.application.Application
Throws:
javax.faces.FacesException

createValueBinding

public javax.faces.el.ValueBinding createValueBinding(java.lang.String reference)
                                               throws javax.faces.el.ReferenceSyntaxException
Deprecated. 

Specified by:
createValueBinding in class javax.faces.application.Application
Throws:
javax.faces.el.ReferenceSyntaxException

getDefaultRenderKitId

public java.lang.String getDefaultRenderKitId()
Specified by:
getDefaultRenderKitId in class javax.faces.application.Application

setDefaultRenderKitId

public void setDefaultRenderKitId(java.lang.String defaultRenderKitId)
Specified by:
setDefaultRenderKitId in class javax.faces.application.Application

getStateManager

public javax.faces.application.StateManager getStateManager()
Specified by:
getStateManager in class javax.faces.application.Application

setStateManager

public void setStateManager(javax.faces.application.StateManager stateManager)
Specified by:
setStateManager in class javax.faces.application.Application


Copyright © 2007 Apache Software Foundation. All Rights Reserved.