|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.waffle.context.pico.PicoComponentRegistry
public class PicoComponentRegistry
PicoContainer-based implementation of Waffle's ComponentRegistry
| Constructor Summary | |
|---|---|
PicoComponentRegistry(javax.servlet.ServletContext servletContext)
Register all waffle required components with the underlying container. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PicoComponentRegistry(javax.servlet.ServletContext servletContext)
| Method Detail |
|---|
protected static java.lang.Class<?> locateComponentClass(java.lang.Object key,
java.lang.Class<?> defaultClass,
javax.servlet.ServletContext servletContext)
throws WaffleException
context-param in the applications web.xml.
<context-param>
<param-name>org.codehaus.waffle.actions.ControllerDefinitionFactory</param-name>
<param-value>org.myurl.FooBarControllerFactory</param-value>
</context-param>
key - represents the component key which the implementation should be registered under.defaultClass - represents the Class to use by default (when not over-written).servletContext - required to obtain the InitParameter defined for the web application.
WaffleExceptionpublic <T> T locateByKey(java.lang.Object key)
locateByKey in interface ComponentRegistrykey - the key the component was registered under
public <T> T locateByType(java.lang.Class<T> t)
ComponentRegistry
locateByType in interface ComponentRegistryt - the type of the component requested
public ActionMethodExecutor getActionMethodExecutor()
getActionMethodExecutor in interface ComponentRegistrypublic ActionMethodResponseHandler getActionMethodResponseHandler()
getActionMethodResponseHandler in interface ComponentRegistrypublic ArgumentResolver getArgumentResolver()
getArgumentResolver in interface ComponentRegistrypublic MethodDefinitionFinder getMethodDefinitionFinder()
getMethodDefinitionFinder in interface ComponentRegistrypublic MethodNameResolver getMethodNameResolver()
getMethodNameResolver in interface ComponentRegistrypublic BindErrorMessageResolver getBindErrorMessageResolver()
getBindErrorMessageResolver in interface ComponentRegistrypublic DataBinder getDataBinder()
getDataBinder in interface ComponentRegistrypublic RequestAttributeBinder getRequestAttributeBinder()
getRequestAttributeBinder in interface ComponentRegistrypublic StringTransmuter getStringTransmuter()
getStringTransmuter in interface ComponentRegistrypublic ValueConverterFinder getValueConverterFinder()
getValueConverterFinder in interface ComponentRegistrypublic ContextContainerFactory getContextContainerFactory()
getContextContainerFactory in interface ComponentRegistrypublic ControllerNameResolver getControllerNameResolver()
getControllerNameResolver in interface ComponentRegistrypublic ControllerDefinitionFactory getControllerDefinitionFactory()
getControllerDefinitionFactory in interface ComponentRegistrypublic MessageResources getMessageResources()
getMessageResources in interface ComponentRegistrypublic ActionMonitor getActionMonitor()
getActionMonitor in interface ComponentRegistrypublic BindMonitor getBindMonitor()
getBindMonitor in interface ComponentRegistrypublic ContextMonitor getContextMonitor()
getContextMonitor in interface ComponentRegistrypublic ControllerMonitor getControllerMonitor()
getControllerMonitor in interface ComponentRegistrypublic RegistrarMonitor getRegistrarMonitor()
getRegistrarMonitor in interface ComponentRegistrypublic ServletMonitor getServletMonitor()
getServletMonitor in interface ComponentRegistrypublic Validator getValidator()
getValidator in interface ComponentRegistrypublic ValidationMonitor getValidationMonitor()
getValidationMonitor in interface ComponentRegistrypublic ViewDispatcher getViewDispatcher()
getViewDispatcher in interface ComponentRegistrypublic ViewMonitor getViewMonitor()
getViewMonitor in interface ComponentRegistrypublic ViewResolver getViewResolver()
getViewResolver in interface ComponentRegistry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||