Skip to content

Binding

Max edited this page Oct 27, 2023 · 1 revision

Binding

By default, amber automatically binds resource containers to classes. This means that if you have the desire to access the raw layer of your configuration (such as internal configuration handling, custom YAML inputs/outputs, or even just using the file for another purpose) you can use the code

ResourceContainerService.get(Config::class.java)

to return the raw containerized instance of the YAML file.

Clone this wiki locally