Class Base

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
    Direct Known Subclasses:
    BasePage, BaseSteps

    public class Base
    extends Object
    implements org.springframework.context.ApplicationContextAware
    Base class for all Spring managed pages and step definitions

    We inject all page objects. This way it is not necessary to annotate them with Autowired.

    • Constructor Detail

      • Base

        public Base()
    • Method Detail

      • initPages

        public void initPages()
        inject the page objects (without using @org.springframework.beans.factory.annotation.Autowired annotations)
      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware