Uses of Class
net.sourceforge.stripes.action.ActionBeanContext

Packages that use ActionBeanContext
net.sourceforge.stripes.action This package defines the ActionBean interface and related classes and interfaces for writing ActionBeans. 
net.sourceforge.stripes.controller This package contains classes which form the core internals of Stripes. 
net.sourceforge.stripes.integration.spring Provides classes for integrating a Stripes application with Spring, primarily by injecting Spring beans into ActionBeans. 
 

Uses of ActionBeanContext in net.sourceforge.stripes.action
 

Methods in net.sourceforge.stripes.action that return ActionBeanContext
 ActionBeanContext ActionBean.getContext()
          Implementations must implement this method to return a reference to the context object provided to the ActionBean during the call to setContext(ActionBeanContext).
 

Methods in net.sourceforge.stripes.action with parameters of type ActionBeanContext
 void ActionBean.setContext(ActionBeanContext context)
          Called by the Stripes dispatcher to provide context to the ActionBean before invoking the handler method.
 

Uses of ActionBeanContext in net.sourceforge.stripes.controller
 

Methods in net.sourceforge.stripes.controller that return ActionBeanContext
 ActionBeanContext ExecutionContext.getActionBeanContext()
          Retrieves the ActionBeanContext associated with the current request.
 ActionBeanContext DefaultViewActionBean.getContext()
           
 ActionBeanContext ActionBeanContextFactory.getContextInstance(HttpServletRequest request, HttpServletResponse response)
          Creates and returns a new instance of ActionBeanContext or a subclass.
 ActionBeanContext DefaultActionBeanContextFactory.getContextInstance(HttpServletRequest request, HttpServletResponse response)
          Returns a new instance of the configured class, or ActionBeanContext if a class is not specified.
 

Methods in net.sourceforge.stripes.controller with parameters of type ActionBeanContext
 ValidationErrors ActionBeanPropertyBinder.bind(ActionBean bean, ActionBeanContext context, boolean validate)
          Populates all the properties in the request which have a matching property in the target bean.
 ValidationErrors DefaultActionBeanPropertyBinder.bind(ActionBean bean, ActionBeanContext context, boolean validate)
           Loops through the parameters contained in the request and attempts to bind each one to the supplied ActionBean.
protected  void DefaultActionBeanPropertyBinder.bindMissingValuesAsNull(ActionBean bean, ActionBeanContext context)
          Uses a hidden field to determine what (if any) fields were present in the form but did not get submitted to the server.
 ActionBean ActionResolver.getActionBean(ActionBeanContext context)
          Resolves the Class, implementing ActionBean, that should be used to handle the request.
 ActionBean AnnotatedClassActionResolver.getActionBean(ActionBeanContext context)
          Gets the logical name of the ActionBean that should handle the request.
 ActionBean ActionResolver.getActionBean(ActionBeanContext context, String path)
          Returns the ActionBean class that responds to the path provided.
 ActionBean AnnotatedClassActionResolver.getActionBean(ActionBeanContext context, String path)
          Returns the ActionBean class that is bound to the UrlBinding supplied.
 ActionBean NameBasedActionResolver.getActionBean(ActionBeanContext context, String urlBinding)
          Overridden to trap the exception that is thrown when a URL cannot be mapped to an ActionBean and then attempt to construct a dummy ActionBean that will forward the user to an appropriate view.
 String ActionResolver.getEventName(Class<? extends ActionBean> bean, ActionBeanContext context)
          Determines the name of the event fired by the front end.
 String AnnotatedClassActionResolver.getEventName(Class<? extends ActionBean> bean, ActionBeanContext context)
           Try various means to determine which event is to be executed on the current ActionBean.
protected  String AnnotatedClassActionResolver.getEventNameFromEventNameParam(Class<? extends ActionBean> bean, ActionBeanContext context)
          Looks to see if there is a single non-empty parameter value for the parameter name specified by StripesConstants.URL_KEY_EVENT_NAME.
protected  String AnnotatedClassActionResolver.getEventNameFromPath(Class<? extends ActionBean> bean, ActionBeanContext context)
          Looks to see if there is extra path information beyond simply the url binding of the bean.
protected  String AnnotatedClassActionResolver.getEventNameFromRequestAttribute(Class<? extends ActionBean> bean, ActionBeanContext context)
          Checks a special request attribute to get the event name.
protected  String AnnotatedClassActionResolver.getEventNameFromRequestParams(Class<? extends ActionBean> bean, ActionBeanContext context)
          Loops through the set of known events for the ActionBean to see if the event names are present as parameter names in the request.
protected  ActionBean NameBasedActionResolver.handleActionBeanNotFound(ActionBeanContext context, String urlBinding)
          Invoked when no appropriate ActionBean can be located.
static void DispatcherHelper.logValidationErrors(ActionBeanContext context)
          Log validation errors at DEBUG to help during development.
protected  ActionBean AnnotatedClassActionResolver.makeNewActionBean(Class<? extends ActionBean> type, ActionBeanContext context)
          Helper method to construct and return a new ActionBean instance.
protected  void AnnotatedClassActionResolver.setActionBeanContext(ActionBean bean, ActionBeanContext context)
          Calls ActionBean.setContext(ActionBeanContext) with the given context only if necessary.
 void ExecutionContext.setActionBeanContext(ActionBeanContext actionBeanContext)
          Sets the ActionBeanContext for the current request.
 void DefaultViewActionBean.setContext(ActionBeanContext context)
           
 

Uses of ActionBeanContext in net.sourceforge.stripes.integration.spring
 

Methods in net.sourceforge.stripes.integration.spring with parameters of type ActionBeanContext
static void SpringHelper.injectBeans(Object bean, ActionBeanContext context)
          Injects Spring managed beans into using a Web Application Context that is derived from the ServletContext, which is in turn looked up using the ActionBeanContext.
 



? Copyright 2005-2006, Stripes Development Team.