Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Partner can inject their implementation classes to Automatics core using Spring Dependency Injection. 
  • Automatics core expects spring configuration file partner-applicationContext.xml to be provided by partner project and it should be available at classpath during test execution.
  • All Java API implementations to be injected should be configured in partner-applicationContext.xml.
  • partner-applicationContext.xml file contains predefined bean id with respective implementation class. All beans uses "lazy-init" set to true so that bean instance will be created on demand only. And, for beans that requires separate instance for each device, property "scope" is set to value "prototype".

View filenameAutomatics Partner XML Configuration

partner-applicationContext_v1.0.xmlheight250 View filenamepartner-applicationContext_v2.0.xmlheight250

Automatics Rest Implementation

...