Package dev.getelements.elements.sdk.guice
package dev.getelements.elements.sdk.guice
The Guice SDK module is intended for using Guice to build an
Element
based
system. This is used internally in the core Elements product.-
ClassesClassDescriptionCreated by patricktwohig on 9/1/15.Bridges the gap between a Guice
Injector
and anServiceLocator
.ReentrantThreadLocalScope<ScopedT>A generic GuiceScope
which can be used to track an instance of an object using aReentrantThreadLocal<ScopedT>
.Specifies a singletonElementRegistry
instance scoped with the name specified inElementRegistry.ROOT
and makes it available to the entire application.Defines a newElement
which is sourced from the guice bindings visible to the module at the time the injector was created.