Renamed CdiRepositoryConfigurationSource to CdiRepositoryConfiguration. Turned anonymous inner default implementation into dedicated enum to avoid repeated instantiation. Changed the CdiRepositoryBean to rather take a Bean instance of the custom implementation instead of the resolved object to make sure both instances (the custom implementation and the repository proxy) are instantiated at the same time. Fixed imports. Some early returns to avoid unnecessary nesting. Adapted architecture description to allow CDI module accessing the configuration module. Related pull request: #92.
27 KiB
27 KiB