Class GuiceElementLoader

java.lang.Object
dev.getelements.elements.sdk.spi.guice.GuiceElementLoader
All Implemented Interfaces:
ElementLoader, ElementStandardBeanProperties

public class GuiceElementLoader extends Object implements ElementLoader
The GuiceElementLoader uses Guice to scan and instantiate an SDK element using a guice element with the following strategy.
  • Guice, by default honors the Singleton annotation.
  • Each type will be explicitly bound via the ElementService annotation.
  • Each specification of ElementServiceExport will expose the the service exposed.