Class SimpleRegistry
java.lang.Object
org.openehealth.ipf.commons.core.config.SimpleRegistry
- All Implemented Interfaces:
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.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SimpleRegistry
public SimpleRegistry()
-
-
Method Details
-
bean
-
bean
-
beans
-
register
-
clear
public void clear()
-