@SuppressWarnings({"unchecked"}) private static GeneratorRegistry createGeneratorRegistry() { GeneratorRegistryImpl registry = new GeneratorRegistryImpl(); GenerationHelperImpl helper = new GenerationHelperImpl(); ComponentGenerator systemComponentGenerator = new SystemComponentGenerator(helper); ComponentGenerator singletonComponentGenerator = new SingletonComponentGenerator(); registry.register(SystemImplementation.class, systemComponentGenerator); registry.register(SingletonImplementation.class, singletonComponentGenerator); registry.register(MonitorResourceReference.class, new MonitorResourceReferenceGenerator()); return registry; }
@SuppressWarnings({"unchecked"}) private static GeneratorRegistry createGeneratorRegistry() { GeneratorRegistryImpl registry = new GeneratorRegistryImpl(); GenerationHelperImpl helper = new GenerationHelperImpl(); ComponentGenerator systemComponentGenerator = new SystemComponentGenerator(helper); ComponentGenerator singletonComponentGenerator = new SingletonComponentGenerator(); registry.register(SystemImplementation.class, systemComponentGenerator); registry.register(SingletonImplementation.class, singletonComponentGenerator); registry.register(MonitorResourceReference.class, new MonitorResourceReferenceGenerator()); return registry; }
@SuppressWarnings({"unchecked"}) private static GeneratorRegistry createGeneratorRegistry() { GeneratorRegistryImpl registry = new GeneratorRegistryImpl(); GenerationHelperImpl helper = new GenerationHelperImpl(); ComponentGenerator systemComponentGenerator = new SystemComponentGenerator(helper); ComponentGenerator singletonComponentGenerator = new SingletonComponentGenerator(); registry.register(SystemImplementation.class, systemComponentGenerator); registry.register(SingletonImplementation.class, singletonComponentGenerator); registry.register(MonitorResourceReference.class, new MonitorResourceReferenceGenerator()); return registry; }