Versions Compared

Key

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

...

  • Execute “mvn clean deploy” on project.  This will deploy the Automatics Core project to the partner's repository.

Partner XML

...

Configuration

Automatics Core reads partner-applicationContext.xml file residing in Partner Implementation Java Project to create instances of Provider implementation.

The diagram shows how Partner Implementation instances are generated and accessed by Automatics Core

draw.io Diagram
bordertrue
diagramNameBean_Creation
simpleViewerfalse
width
linksauto
tbstyletop
lboxtrue
diagramWidth551
revision1


  • Partner Partner can inject their Provider implementation to Automatics core using Spring Dependency Injection. 
  • Automatics core expects spring configuration file partner-applicationContext.xml to be available in partner project resource folder. 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".


Please refer Automatics Partner XML Configuration

...

attached here while developing partner implementation.

Automatics

Automatics Core reads partner-applicationContext.xml file residing in Partner Implementation Java Project to create instances of Provider implementation.

The diagram shows how Partner Implementation instances are generated and accessed by Automatics Core

draw.io DiagrambordertruediagramNameBean_CreationsimpleViewerfalsewidthlinksautotbstyletoplboxtruediagramWidth551revision1 Automatics Partner XML Configuration - partner-applicationContext.xml

...