Class RootElementRegistryModule

java.lang.Object
com.google.inject.PrivateModule
dev.getelements.elements.sdk.guice.RootElementRegistryModule
All Implemented Interfaces:
com.google.inject.Module

public class RootElementRegistryModule extends com.google.inject.PrivateModule
Specifies a singleton ElementRegistry instance scoped with the name specified in ElementRegistry.ROOT and makes it available to the entire application. In addition to the core ElementRegistry this allows for the specification of additional Element instances.