Class StorageManagerProxy

java.lang.Object
one.microstream.integrations.cdi.types.config.StorageManagerProxy
All Implemented Interfaces:
AutoCloseable, PersistenceStoring, Persister, ObjectSwizzling, DatabasePart, StorageActivePart, StorageConnection, StorageController, StorageManager

public class StorageManagerProxy
extends Object
implements StorageManager
For MicroProfile Config, at deployment time, we need to validate if @ConfigProperty is valid by creating the StorageManager. Since we need to look up the beans for EmbeddedStorageFoundationCustomizer and StorageManagerInitializer we need a fully initialised bean Manager which we do not have. And to avoid the creating of the StorageManager at deployment time, we have this proxy that delays the creation of the StorageManager until first use.