- All Implemented Interfaces:
- Registry
public class SimpleRegistry
extends Object
implements Registry
A simple registry implementation that can e.g. be used in tests to
abstract away more complex bean registries like Spring. This is
sometimes easier to use than mocking the requests to individual
methods.
Note that no synchronization is done for adding beans or clearing
the registry.