|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.chain.commands.ActionCommandBase
org.apache.struts.chain.commands.AbstractCreateAction
org.apache.struts.chain.commands.servlet.CreateAction
public class CreateAction
Concrete implementation of AbstractCreateAction
for use in
a Servlet API chain. Expects that the ActionContext passed into it can
safely be cast to ServletActionContext
.
Field Summary |
---|
Fields inherited from interface org.apache.commons.chain.Command |
---|
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
Constructor Summary | |
---|---|
CreateAction()
|
Method Summary | |
---|---|
protected Action |
getAction(ActionContext context,
java.lang.String type,
ActionConfig actionConfig)
Create and return the appropriate Action class for the
given type and actionConfig . |
Methods inherited from class org.apache.struts.chain.commands.AbstractCreateAction |
---|
execute |
Methods inherited from class org.apache.struts.chain.commands.ActionCommandBase |
---|
execute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CreateAction()
Method Detail |
---|
protected Action getAction(ActionContext context, java.lang.String type, ActionConfig actionConfig) throws java.lang.Exception
AbstractCreateAction
Create and return the appropriate Action
class for the
given type
and actionConfig
.
NOTE: The dependence on ActionServlet suggests that this should be broken up along the lines of the other Abstract/concrete pairs in the org.apache.struts.chain.commands package.
getAction
in class AbstractCreateAction
context
- The Context
for this requesttype
- Name of class to instantiateactionConfig
- The ActionConfig
for this request
java.lang.Exception
- if there are any problems instantiating the Action
class.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |