org.apache.myfaces.config

Interface FacesConfigDispenser

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: 169649 $ $Date: 2005-05-11 17:47:12 +0200 (Wed, 11 May 2005) $
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()
String
getRenderKitClass(String renderKitId)
Iterator
getRenderKitFactoryIterator()
Iterator
getRenderKitIds()
Iterator
getRenderers(String renderKitId)
Iterator
getStateManagerIterator()
Iterator
getSupportedLocalesIterator()
String
getValidatorClass(String validatorId)
Iterator
getValidatorIds()
Iterator
getVariableResolverIterator()
Iterator
getViewHandlerIterator()

Method Details

feed

public void feed(Object facesConfig)
Add another unmarshalled faces config object.
Parameters:
facesConfig - unmarshalled faces config object

feedApplicationFactory

public void feedApplicationFactory(String factoryClassName)
Add another ApplicationFactory class name
Parameters:
factoryClassName - a class name

feedFacesContextFactory

public void feedFacesContextFactory(String factoryClassName)
Add another FacesContextFactory class name
Parameters:
factoryClassName - a class name

feedLifecycleFactory

public void feedLifecycleFactory(String factoryClassName)
Add another LifecycleFactory class name
Parameters:
factoryClassName - a class name

feedRenderKitFactory

public void feedRenderKitFactory(String factoryClassName)
Add another RenderKitFactory class name
Parameters:
factoryClassName - a class name

getActionListenerIterator

public Iterator getActionListenerIterator()
Returns:
Iterator over ActionListener class names (in reverse order!)

getApplicationFactoryIterator

public Iterator getApplicationFactoryIterator()
Returns:
Iterator over ApplicationFactory class names

getComponentClass

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

getComponentTypes

public Iterator getComponentTypes()
Returns:
Iterator over all defined component types

getConverterClassByClass

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

getConverterClassById

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

getConverterClasses

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

getConverterConfiguration

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

getConverterConfigurationByClassName

public Iterator getConverterConfigurationByClassName()
Returns:
Iterator over the config classes for the converters

getConverterIds

public Iterator getConverterIds()
Returns:
Iterator over all defined converter ids

getDefaultLocale

public String getDefaultLocale()
Returns:
the default locale name

getDefaultRenderKitId

public String getDefaultRenderKitId()
Returns:
the default render kit id

getFacesContextFactoryIterator

public Iterator getFacesContextFactoryIterator()
Returns:
Iterator over FacesContextFactory class names

getLifecycleFactoryIterator

public Iterator getLifecycleFactoryIterator()
Returns:
Iterator over LifecycleFactory class names

getLifecyclePhaseListeners

public Iterator getLifecyclePhaseListeners()
Returns:
Iterator over javax.faces.event.PhaseListener implementation class names

getManagedBeans

public Iterator getManagedBeans()

getMessageBundle

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

getNavigationHandlerIterator

public Iterator getNavigationHandlerIterator()
Returns:
Iterator over NavigationHandler class names

getNavigationRules

public Iterator getNavigationRules()

getPropertyResolverIterator

public Iterator getPropertyResolverIterator()
Returns:
Iterator over PropertyResolver class names

getRenderKitClass

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

getRenderKitFactoryIterator

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

getRenderKitIds

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

getRenderers

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

getStateManagerIterator

public Iterator getStateManagerIterator()
Returns:
Iterator over StateManager class names

getSupportedLocalesIterator

public Iterator getSupportedLocalesIterator()
Returns:
Iterator over supported locale names

getValidatorClass

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

getValidatorIds

public Iterator getValidatorIds()
Returns:
Iterator over all defined validator ids

getVariableResolverIterator

public Iterator getVariableResolverIterator()
Returns:
Iterator over VariableResolver class names

getViewHandlerIterator

public Iterator getViewHandlerIterator()
Returns:
Iterator over ViewHandler class names