org.springframework.web.servlet.mvc.support
Class AnnotationControllerTypePredicate

java.lang.Object
  extended by org.springframework.web.servlet.mvc.support.ControllerTypePredicate
      extended by org.springframework.web.servlet.mvc.support.AnnotationControllerTypePredicate

 class AnnotationControllerTypePredicate
extends ControllerTypePredicate

Extension of ControllerTypePredicate that detects annotated @Controller beans as well.

Since:
2.5.3
Author:
Juergen Hoeller

Constructor Summary
AnnotationControllerTypePredicate()
           
 
Method Summary
 boolean isControllerType(java.lang.Class beanClass)
           
 boolean isMultiActionControllerType(java.lang.Class beanClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationControllerTypePredicate

AnnotationControllerTypePredicate()
Method Detail

isControllerType

public boolean isControllerType(java.lang.Class beanClass)
Overrides:
isControllerType in class ControllerTypePredicate

isMultiActionControllerType

public boolean isMultiActionControllerType(java.lang.Class beanClass)
Overrides:
isMultiActionControllerType in class ControllerTypePredicate