Factory for creating Registry instances with pre-configured managers
const factory = new RegistryFactory();factory.getManagerFactory().setManagerType(MongoManager);const registry = factory.getRegistry({ main: { type: 'MongoManager', config: {...} }}); Copy
const factory = new RegistryFactory();factory.getManagerFactory().setManagerType(MongoManager);const registry = factory.getRegistry({ main: { type: 'MongoManager', config: {...} }});
Get the underlying manager factory
The manager factory instance
Create a new Registry with managers created from configuration
Type of the configuration object
Object mapping manager names to their settings
A new Registry instance with configured managers
Factory for creating Registry instances with pre-configured managers
Example