com.google.code.rees.scope.struts2
Class StrutsConversationArbitrator
java.lang.Object
com.google.code.rees.scope.conversation.configuration.DefaultConversationArbitrator
com.google.code.rees.scope.struts2.StrutsConversationArbitrator
- All Implemented Interfaces:
- ConversationArbitrator, Serializable
public class StrutsConversationArbitrator
- extends DefaultConversationArbitrator
The ConversationArbitrator for use with Struts2.
- Author:
- rees.byars
- See Also:
- Serialized Form
| Methods inherited from class com.google.code.rees.scope.conversation.configuration.DefaultConversationArbitrator |
getBeginConversations, getCandidateConversationFields, getCandidateConversationMethods, getConversations, getConversations, getConversations, getConversations, getConversations, getEndConversations, getName, getName, isAction |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
usePackageNesting
protected boolean usePackageNesting
actionProvider
protected ActionProvider actionProvider
StrutsConversationArbitrator
public StrutsConversationArbitrator()
setActionSuffix
@Property(value="struts.convention.action.suffix")
public void setActionSuffix(String suffix)
- Description copied from class:
DefaultConversationArbitrator
- The default suffix is "Controller". So the conversation for a class
named
MyExampleFlowController would be
my-example-flow. Use this setter to use a different suffix.
- Specified by:
setActionSuffix in interface ConversationArbitrator- Overrides:
setActionSuffix in class DefaultConversationArbitrator
setUsePackageNesting
@Property(value="conversation.package.nesting")
public void setUsePackageNesting(String usePackageNesting)
setActionProvider
@Component
public void setActionProvider(ActionProvider actionProvider)
getConversationControllers
protected Set<Class<?>> getConversationControllers(Class<?> clazz)
- Overrides:
getConversationControllers in class DefaultConversationArbitrator
getConversationsWithInheritance
protected String[] getConversationsWithInheritance(Class<?> clazz,
String actionSuffix)
-
- Overrides:
getConversationsWithInheritance in class DefaultConversationArbitrator
getConversationsWithoutInheritance
protected String[] getConversationsWithoutInheritance(Class<?> clazz,
String actionSuffix)
-
- Overrides:
getConversationsWithoutInheritance in class DefaultConversationArbitrator
isConversationController
protected boolean isConversationController(Class<?> clazz)
-
- Overrides:
isConversationController in class DefaultConversationArbitrator
isModelDrivenConversation
protected boolean isModelDrivenConversation(Class<?> clazz)
getPackageBasedConversations
protected Collection<String> getPackageBasedConversations(Class<?> clazz,
String actionSuffix)
Copyright © 2012-2013. All Rights Reserved.