Secondary constructor used by the Injector to inject the com.twitter.inject.internal.Library
Secondary constructor used by the Injector to inject the com.twitter.inject.internal.Library
Put a "nested" key with value(s)
Put a simple key with value(s)
Remove the given key which is expected to be relative to the "library_name" / "section"
A "section" is a top-level entry under the library entry under which to put all of the subsequent entries.
A "section" is a top-level entry under the library entry under which to put all of the subsequent entries. E.g.,
"library": { "library_name": { "section_1": { "key_a": "value", "key_b": "value" }, "x" : { "y" : { "key_c": "value", "key_d": "value" } }, "some_key": "value" } }
libraryRegistry.withSection("section_1")
would produce the first entry under "library_name",
whereas, libraryRegistry.withSection("x", "y")
would produce the section entry where the
given strings become nested JSON structures.
Utility for adding entries to the com.twitter.util.registry.Library for a given com.twitter.inject.internal.Library.
INTERNAL API
com.twitter.util.registry.GlobalRegistry
com.twitter.util.registry.Library