Class RubyActionConfig

  extended by org.mentawai.core.ActionConfig
      extended by org.mentawai.jruby.RubyActionConfig

public class RubyActionConfig
extends ActionConfig

Field Summary
Fields inherited from class org.mentawai.core.ActionConfig
Constructor Summary
RubyActionConfig(java.lang.String klass)
RubyActionConfig(java.lang.String name, java.lang.String klass)
RubyActionConfig(java.lang.String name, java.lang.String klass, java.lang.String innerAction)
Method Summary
 Action getAction()
          Returns an action instance to be used with this request.
Methods inherited from class org.mentawai.core.ActionConfig
addConsequence, addConsequence, addFilter, addFilter, addFilter, addFilter, addFilter, addFilterFirst, addFilterFirst, addFilterFirst, addFilterFirst, ajaxError, ajaxOk, filter, filter, filter, filter, filter, filterFirst, filterFirst, filterFirst, filterFirst, fwdError, fwdOk, getActionClass, getAutoConsequence, getConsequence, getConsequence, getDirFromClass, getFilters, getFilters, getFirstFilters, getInnerAction, getName, on, on, on, redirError, redirError, redirError, redirOk, redirOk, redirOk, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public RubyActionConfig(java.lang.String klass)


public RubyActionConfig(java.lang.String name,
                        java.lang.String klass)


public RubyActionConfig(java.lang.String name,
                        java.lang.String klass,
                        java.lang.String innerAction)
Method Detail


public Action getAction()
Description copied from class: ActionConfig
Returns an action instance to be used with this request. Mentawai creates a new action instance for each request. You can extend ActionConfig and override this class to integrate Mentawai with other IoC containers, that may want to create the action themselves.

getAction in class ActionConfig
The action instance to use for the request.

Copyright © 2005 Mentawai Team. All Rights Reserved.