Save This Page
Home » mojarra-1.2_09-b02-FCS-source » com.sun.faces.application » [javadoc | source]
com.sun.faces.application
public class: ApplicationAssociate [javadoc | source]
java.lang.Object
   com.sun.faces.application.ApplicationAssociate

Break out the things that are associated with the Application, but need to be present even when the user has replaced the Application instance.

For example: the user replaces ApplicationFactory, and wants to intercept calls to createValueExpression() and createMethodExpression() for certain kinds of expressions, but allow the existing application to handle the rest.

Nested Class Summary:
static class  ApplicationAssociate.SortIt  This Comparator class will help sort the ConfigNavigationCase objects based on their fromViewId properties in descending order - largest string to smallest string. 
Field Summary
 Map resourceBundles    keys: element from faces-config

values: ResourceBundleBean instances. 

Constructor:
 public ApplicationAssociate(ApplicationImpl appImpl) 
Method from com.sun.faces.application.ApplicationAssociate Summary:
addNavigationCase,   addResourceBundle,   clearInstance,   getApplicationELResolvers,   getBeanManager,   getContextName,   getCurrentInstance,   getELResolversFromFacesConfig,   getExpressionFactory,   getFacesELResolverForJsp,   getGroovyHelper,   getInjectionProvider,   getInstance,   getInstance,   getLegacyPRChainHead,   getLegacyPropertyResolver,   getLegacyVRChainHead,   getLegacyVariableResolver,   getNavigationCaseListMappings,   getNavigationWildCardList,   getPropertyEditorHelper,   getResourceBundle,   getResourceBundles,   hasRequestBeenServiced,   isDevModeEnabled,   isResponseRendered,   responseRendered,   setContextName,   setCurrentInstance,   setELResolversFromFacesConfig,   setExpressionFactory,   setFacesELResolverForJsp,   setLegacyPRChainHead,   setLegacyPropertyResolver,   setLegacyVRChainHead,   setLegacyVariableResolver,   setRequestServiced
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.faces.application.ApplicationAssociate Detail:
 public  void addNavigationCase(ConfigNavigationCase navigationCase) 
    Add a navigation case to the internal case list. If a case list does not already exist in the case list map containing this case (identified by from-view-id), start a new list, add the case to it, and store the list in the case list map. If a case list already exists, see if a case entry exists in the list with a matching from-view-idfrom-action from-outcome combination. If there is suach an entry, overwrite it with this new case. Otherwise, add the case to the list.
 public  void addResourceBundle(String var,
    ApplicationResourceBundle bundle) 
 public static  void clearInstance(ExternalContext externalContext) 
 public List getApplicationELResolvers() 
 public BeanManager getBeanManager() 
 public String getContextName() 
 public static ApplicationAssociate getCurrentInstance() 
 public List getELResolversFromFacesConfig() 
 public ExpressionFactory getExpressionFactory() 
 public CompositeELResolver getFacesELResolverForJsp() 
 public GroovyHelper getGroovyHelper() 
 public InjectionProvider getInjectionProvider() 
 public static ApplicationAssociate getInstance(ExternalContext externalContext) 
 public static ApplicationAssociate getInstance(ServletContext context) 
 public PropertyResolver getLegacyPRChainHead() 
 public PropertyResolver getLegacyPropertyResolver() 
 public VariableResolver getLegacyVRChainHead() 
 public VariableResolver getLegacyVariableResolver() 
 public Map getNavigationCaseListMappings() 
    Return a Map of navigation mappings loaded from the configuration system. The key for the returned Map is from-view-id, and the value is a List of navigation cases.
 public TreeSet getNavigationWildCardList() 
    Return all navigation mappings whose from-view-id contained a trailing "*".
 public PropertyEditorHelper getPropertyEditorHelper() 
    Obtain the PropertyEditorHelper instance for this app.
 public ResourceBundle getResourceBundle(FacesContext context,
    String var) 
 public Map getResourceBundles() 
 public boolean hasRequestBeenServiced() 
 public boolean isDevModeEnabled() 
 boolean isResponseRendered() 
  void responseRendered() 
 public  void setContextName(String contextName) 
 public static  void setCurrentInstance(ApplicationAssociate associate) 
 public  void setELResolversFromFacesConfig(List resolvers) 
 public  void setExpressionFactory(ExpressionFactory expressionFactory) 
 public  void setFacesELResolverForJsp(CompositeELResolver celr) 
 public  void setLegacyPRChainHead(PropertyResolver resolver) 
    This method is called by ConfigureListener and will contain any PropertyResolvers defined within faces-config configuration files.
 public  void setLegacyPropertyResolver(PropertyResolver resolver) 
    Maintains the PropertyResolver called through Application.setPropertyResolver()
 public  void setLegacyVRChainHead(VariableResolver resolver) 
    This method is called by ConfigureListener and will contain any VariableResolvers defined within faces-config configuration files.
 public  void setLegacyVariableResolver(VariableResolver resolver) 
    Maintains the PropertyResolver called through Application.setVariableResolver()
 public  void setRequestServiced() 
    Called by application code to indicate we've processed the first request to the application.