org.apache.myfaces.config
Interface FacesConfigDispenser<C>

All Known Implementing Classes:
DigesterFacesConfigDispenserImpl

public interface FacesConfigDispenser<C>

Subsumes several unmarshalled faces config objects and presents a simple interface to the combined configuration data.

Version:
$Revision: 684459 $ $Date: 2008-08-10 06:13:56 -0500 (Sun, 10 Aug 2008) $
Author:
Manfred Geiler (latest modification by $Author: skitching $)

Method Summary
 void feed(C facesConfig)
          Add another unmarshalled faces config object.
 void feedApplicationFactory(String factoryClassName)
          Add another ApplicationFactory class name
 void feedFacesContextFactory(String factoryClassName)
          Add another FacesContextFactory class name
 void feedLifecycleFactory(String factoryClassName)
          Add another LifecycleFactory class name
 void feedRenderKitFactory(String factoryClassName)
          Add another RenderKitFactory class name
 Iterator<String> getActionListenerIterator()
           
 Iterator<String> getApplicationFactoryIterator()
           
 String getComponentClass(String componentType)
           
 Iterator<String> getComponentTypes()
           
 String getConverterClassByClass(String className)
           
 String getConverterClassById(String converterId)
           
 Iterator<String> getConverterClasses()
           
 Converter getConverterConfiguration(String converterClassName)
          delivers a converter-configuration for one class-name
 Iterator<String> getConverterConfigurationByClassName()
           
 Iterator<String> getConverterIds()
           
 String getDefaultLocale()
           
 String getDefaultRenderKitId()
           
 Iterator<String> getElResolvers()
           
 Iterator<String> getFacesContextFactoryIterator()
           
 Iterator<String> getLifecycleFactoryIterator()
           
 Iterator<String> getLifecyclePhaseListeners()
           
 Iterator<ManagedBean> getManagedBeans()
           
 String getMessageBundle()
           
 Iterator<String> getNavigationHandlerIterator()
           
 Iterator<NavigationRule> getNavigationRules()
           
 Iterator<String> getPropertyResolverIterator()
           
 Iterator<Renderer> getRenderers(String renderKitId)
           
 String getRenderKitClass(String renderKitId)
           
 Iterator<String> getRenderKitFactoryIterator()
           
 Iterator<String> getRenderKitIds()
           
 Iterator<ResourceBundle> getResourceBundles()
           
 Iterator getStateManagerIterator()
           
 Iterator<String> getSupportedLocalesIterator()
           
 String getValidatorClass(String validatorId)
           
 Iterator<String> getValidatorIds()
           
 Iterator<String> getVariableResolverIterator()
           
 Iterator<String> getViewHandlerIterator()
           
 

Method Detail

feed

void feed(C facesConfig)
Add another unmarshalled faces config object.

Parameters:
facesConfig - unmarshalled faces config object

feedApplicationFactory

void feedApplicationFactory(String factoryClassName)
Add another ApplicationFactory class name

Parameters:
factoryClassName - a class name

feedFacesContextFactory

void feedFacesContextFactory(String factoryClassName)
Add another FacesContextFactory class name

Parameters:
factoryClassName - a class name

feedLifecycleFactory

void feedLifecycleFactory(String factoryClassName)
Add another LifecycleFactory class name

Parameters:
factoryClassName - a class name

feedRenderKitFactory

void feedRenderKitFactory(String factoryClassName)
Add another RenderKitFactory class name

Parameters:
factoryClassName - a class name

getApplicationFactoryIterator

Iterator<String> getApplicationFactoryIterator()
Returns:
Iterator over ApplicationFactory class names

getFacesContextFactoryIterator

Iterator<String> getFacesContextFactoryIterator()
Returns:
Iterator over FacesContextFactory class names

getLifecycleFactoryIterator

Iterator<String> getLifecycleFactoryIterator()
Returns:
Iterator over LifecycleFactory class names

getRenderKitFactoryIterator

Iterator<String> getRenderKitFactoryIterator()
Returns:
Iterator over RenderKit factory class names

getActionListenerIterator

Iterator<String> getActionListenerIterator()
Returns:
Iterator over ActionListener class names (in reverse order!)

getDefaultRenderKitId

String getDefaultRenderKitId()
Returns:
the default render kit id

getMessageBundle

String getMessageBundle()
Returns:
Iterator over message bundle names (in reverse order!)

getNavigationHandlerIterator

Iterator<String> getNavigationHandlerIterator()
Returns:
Iterator over NavigationHandler class names

getViewHandlerIterator

Iterator<String> getViewHandlerIterator()
Returns:
Iterator over ViewHandler class names

getStateManagerIterator

Iterator getStateManagerIterator()
Returns:
Iterator over StateManager class names

getPropertyResolverIterator

Iterator<String> getPropertyResolverIterator()
Returns:
Iterator over PropertyResolver class names

getVariableResolverIterator

Iterator<String> getVariableResolverIterator()
Returns:
Iterator over VariableResolver class names

getDefaultLocale

String getDefaultLocale()
Returns:
the default locale name

getSupportedLocalesIterator

Iterator<String> getSupportedLocalesIterator()
Returns:
Iterator over supported locale names

getComponentTypes

Iterator<String> getComponentTypes()
Returns:
Iterator over all defined component types

getComponentClass

String getComponentClass(String componentType)
Returns:
component class that belongs to the given component type

getConverterIds

Iterator<String> getConverterIds()
Returns:
Iterator over all defined converter ids

getConverterClasses

Iterator<String> getConverterClasses()
Returns:
Iterator over all classes with an associated converter

getConverterConfigurationByClassName

Iterator<String> getConverterConfigurationByClassName()
Returns:
Iterator over the config classes for the converters

getConverterConfiguration

Converter getConverterConfiguration(String converterClassName)
delivers a converter-configuration for one class-name


getConverterClassById

String getConverterClassById(String converterId)
Returns:
converter class that belongs to the given converter id

getConverterClassByClass

String getConverterClassByClass(String className)
Returns:
converter class that is associated with the given class name

getValidatorIds

Iterator<String> getValidatorIds()
Returns:
Iterator over all defined validator ids

getValidatorClass

String getValidatorClass(String validatorId)
Returns:
validator class name that belongs to the given validator id

getManagedBeans

Iterator<ManagedBean> getManagedBeans()
Returns:
Iterator over ManagedBeans

getNavigationRules

Iterator<NavigationRule> getNavigationRules()
Returns:
Iterator over NavigationRules

getRenderKitIds

Iterator<String> getRenderKitIds()
Returns:
Iterator over all defined renderkit ids

getRenderKitClass

String getRenderKitClass(String renderKitId)
Returns:
renderkit class name for given renderkit id

getRenderers

Iterator<Renderer> getRenderers(String renderKitId)
Returns:
Iterator over Renderers for the given renderKitId

getLifecyclePhaseListeners

Iterator<String> getLifecyclePhaseListeners()
Returns:
Iterator over PhaseListener implementation class names

getResourceBundles

Iterator<ResourceBundle> getResourceBundles()
Returns:
Iterator over ResourceBundle

getElResolvers

Iterator<String> getElResolvers()
Returns:
Iterator over ELResolver implementation class names


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.