com.google.code.rees.scope.spring
Class SpringConversationArbitrator

java.lang.Object
  extended by com.google.code.rees.scope.conversation.configuration.DefaultConversationArbitrator
      extended by com.google.code.rees.scope.spring.SpringConversationArbitrator
All Implemented Interfaces:
ConversationArbitrator, Serializable

public class SpringConversationArbitrator
extends DefaultConversationArbitrator

A ConversationArbitrator for use with Spring MVC. Looks for RequestMapping annotations to identify controller action methods.

Author:
rees.byars
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.google.code.rees.scope.conversation.configuration.DefaultConversationArbitrator
actionSuffix
 
Constructor Summary
SpringConversationArbitrator()
           
 
Method Summary
protected  Set<Class<?>> getConversationControllers(Class<?> clazz)
           
protected  String[] getConversationsWithInheritance(Class<?> clazz, String actionSuffix)
           
protected  boolean isAction(Method method)
           
 
Methods inherited from class com.google.code.rees.scope.conversation.configuration.DefaultConversationArbitrator
getBeginConversations, getCandidateConversationFields, getCandidateConversationMethods, getConversations, getConversations, getConversations, getConversations, getConversations, getConversationsWithoutInheritance, getEndConversations, getName, getName, isConversationController, setActionSuffix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringConversationArbitrator

public SpringConversationArbitrator()
Method Detail

getConversationsWithInheritance

protected String[] getConversationsWithInheritance(Class<?> clazz,
                                                   String actionSuffix)
Overrides:
getConversationsWithInheritance in class DefaultConversationArbitrator

getConversationControllers

protected Set<Class<?>> getConversationControllers(Class<?> clazz)
Overrides:
getConversationControllers in class DefaultConversationArbitrator

isAction

protected boolean isAction(Method method)
Overrides:
isAction in class DefaultConversationArbitrator


Copyright © 2012-2013. All Rights Reserved.