DrEcho Docs

ADRs

ResourceBundle as singleton

ADR #7

Context:

Dependency injection of bundle instances is inconvenient. The client always has one bundle pack for the current instance.

Decision:

Utilize a static class to manage ResourceBundle instances. Wrap the ResourceBundle class functionality. This decision allows for easier access and management of ResourceBundle instances within the application.

Pros:

  • Simplifies access and management of ResourceBundle instances.

Cons:

  • None

Status: Accepted -> In use