Annotation Interface PageObject


@Target(TYPE) @Retention(RUNTIME) @Component @Documented public @interface PageObject
Indicates that an annotated class is a "Page Object". Such classes are considered as candidates for auto-detection when using annotation-based configuration and classpath scanning.
Author:
Paul.Brodner
See Also:
  • ClassPathBeanDefinitionScanner
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The value may indicate a suggestion for a logical page object name, to be turned into a Spring bean in case of an autodetected component.
  • Element Details

    • value

      String value
      The value may indicate a suggestion for a logical page object name, to be turned into a Spring bean in case of an autodetected component.
      Returns:
      the suggested component name, if any
      Default:
      ""