org.codehaus.waffle
Interface ComponentRegistry

All Known Implementing Classes:
PicoComponentRegistry

public interface ComponentRegistry

ComponentRegistry is responsible for maintaining Waffle components and allowing Waffle to have a pluggable architecture.

Author:
Michael Ward, Mauro Talevi

Method Summary
 ActionMethodExecutor getActionMethodExecutor()
           
 ActionMethodResponseHandler getActionMethodResponseHandler()
           
 ActionMonitor getActionMonitor()
           
 ArgumentResolver getArgumentResolver()
           
 BindErrorMessageResolver getBindErrorMessageResolver()
           
 BindMonitor getBindMonitor()
           
 ContextContainerFactory getContextContainerFactory()
           
 ContextMonitor getContextMonitor()
           
 ControllerDataBinder getControllerDataBinder()
           
 ControllerDefinitionFactory getControllerDefinitionFactory()
           
 ControllerMonitor getControllerMonitor()
           
 ControllerNameResolver getControllerNameResolver()
           
 MessageResources getMessageResources()
           
 MethodDefinitionFinder getMethodDefinitionFinder()
           
 MethodNameResolver getMethodNameResolver()
           
 RegistrarMonitor getRegistrarMonitor()
           
 ServletMonitor getServletMonitor()
           
 StringTransmuter getStringTransmuter()
           
 ValidationMonitor getValidationMonitor()
           
 Validator getValidator()
           
 ValueConverterFinder getValueConverterFinder()
           
 ViewDataBinder getViewDataBinder()
           
 ViewDispatcher getViewDispatcher()
           
 ViewMonitor getViewMonitor()
           
 ViewResolver getViewResolver()
           
<T> T
locateByKey(java.lang.Object key)
          Retrieve a component via the key it was registered under
<T> T
locateByType(java.lang.Class<T> t)
          Retrieve a component by type.
 

Method Detail

locateByKey

<T> T locateByKey(java.lang.Object key)
Retrieve a component via the key it was registered under

Parameters:
key - the key the component was registered under
Returns:
the component registered

locateByType

<T> T locateByType(java.lang.Class<T> t)
Retrieve a component by type. Be cautious of making ambiguous requests.

Parameters:
t - the type of the component requested
Returns:
the component registered

getActionMethodExecutor

ActionMethodExecutor getActionMethodExecutor()

getActionMethodResponseHandler

ActionMethodResponseHandler getActionMethodResponseHandler()

getActionMonitor

ActionMonitor getActionMonitor()

getArgumentResolver

ArgumentResolver getArgumentResolver()

getBindErrorMessageResolver

BindErrorMessageResolver getBindErrorMessageResolver()

getBindMonitor

BindMonitor getBindMonitor()

getContextContainerFactory

ContextContainerFactory getContextContainerFactory()

getContextMonitor

ContextMonitor getContextMonitor()

getControllerDataBinder

ControllerDataBinder getControllerDataBinder()

getControllerDefinitionFactory

ControllerDefinitionFactory getControllerDefinitionFactory()

getControllerMonitor

ControllerMonitor getControllerMonitor()

getControllerNameResolver

ControllerNameResolver getControllerNameResolver()

getMessageResources

MessageResources getMessageResources()

getMethodDefinitionFinder

MethodDefinitionFinder getMethodDefinitionFinder()

getMethodNameResolver

MethodNameResolver getMethodNameResolver()

getRegistrarMonitor

RegistrarMonitor getRegistrarMonitor()

getServletMonitor

ServletMonitor getServletMonitor()

getStringTransmuter

StringTransmuter getStringTransmuter()

getValueConverterFinder

ValueConverterFinder getValueConverterFinder()

getValidator

Validator getValidator()

getValidationMonitor

ValidationMonitor getValidationMonitor()

getViewDataBinder

ViewDataBinder getViewDataBinder()

getViewDispatcher

ViewDispatcher getViewDispatcher()

getViewMonitor

ViewMonitor getViewMonitor()

getViewResolver

ViewResolver getViewResolver()


Copyright © 2008. All Rights Reserved.