org.apache.myfaces.config
Interface FacesConfigDispenser

All Known Implementing Classes:
DigesterFacesConfigDispenserImpl

public interface FacesConfigDispenser

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

Version:
$Revision: 472618 $ $Date: 2006-11-08 15:06:54 -0500 (Wed, 08 Nov 2006) $
Author:
Manfred Geiler (latest modification by $Author: grantsmith $)

Method Summary
 void feed(Object 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 getActionListenerIterator()
           
 Iterator getApplicationFactoryIterator()
           
 String getComponentClass(String componentType)
           
 Iterator getComponentTypes()
           
 String getConverterClassByClass(String className)
           
 String getConverterClassById(String converterId)
           
 Iterator getConverterClasses()
           
 Converter getConverterConfiguration(String converterClassName)
          delivers a converter-configuration for one class-name
 Iterator getConverterConfigurationByClassName()
           
 Iterator getConverterIds()
           
 String getDefaultLocale()
           
 String getDefaultRenderKitId()
           
 Iterator getFacesContextFactoryIterator()
           
 Iterator getLifecycleFactoryIterator()
           
 Iterator getLifecyclePhaseListeners()
           
 Iterator getManagedBeans()
           
 String getMessageBundle()
           
 Iterator getNavigationHandlerIterator()
           
 Iterator getNavigationRules()
           
 Iterator getPropertyResolverIterator()
           
 Iterator getRenderers(String renderKitId)
           
 String getRenderKitClass(String renderKitId)
           
 Iterator getRenderKitFactoryIterator()
           
 Iterator getRenderKitIds()
           
 Iterator getStateManagerIterator()
           
 Iterator getSupportedLocalesIterator()
           
 String getValidatorClass(String validatorId)
           
 Iterator getValidatorIds()
           
 Iterator getVariableResolverIterator()
           
 Iterator getViewHandlerIterator()
           
 

Method Detail

feed

void feed(Object 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 getApplicationFactoryIterator()
Returns:
Iterator over ApplicationFactory class names

getFacesContextFactoryIterator

Iterator getFacesContextFactoryIterator()
Returns:
Iterator over FacesContextFactory class names

getLifecycleFactoryIterator

Iterator getLifecycleFactoryIterator()
Returns:
Iterator over LifecycleFactory class names

getRenderKitFactoryIterator

Iterator getRenderKitFactoryIterator()
Returns:
Iterator over RenderKit factory class names

getActionListenerIterator

Iterator 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 getNavigationHandlerIterator()
Returns:
Iterator over NavigationHandler class names

getViewHandlerIterator

Iterator getViewHandlerIterator()
Returns:
Iterator over ViewHandler class names

getStateManagerIterator

Iterator getStateManagerIterator()
Returns:
Iterator over StateManager class names

getPropertyResolverIterator

Iterator getPropertyResolverIterator()
Returns:
Iterator over PropertyResolver class names

getVariableResolverIterator

Iterator getVariableResolverIterator()
Returns:
Iterator over VariableResolver class names

getDefaultLocale

String getDefaultLocale()
Returns:
the default locale name

getSupportedLocalesIterator

Iterator getSupportedLocalesIterator()
Returns:
Iterator over supported locale names

getComponentTypes

Iterator 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 getConverterIds()
Returns:
Iterator over all defined converter ids

getConverterClasses

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

getConverterConfigurationByClassName

Iterator 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 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 getManagedBeans()
Returns:
Iterator over ManagedBeans

getNavigationRules

Iterator getNavigationRules()
Returns:
Iterator over NavigationRules

getRenderKitIds

Iterator getRenderKitIds()
Returns:
Iterator over all defined renderkit ids

getRenderKitClass

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

getRenderers

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

getLifecyclePhaseListeners

Iterator getLifecyclePhaseListeners()
Returns:
Iterator over PhaseListener implementation class names


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