use of org.talend.components.api.service.common.DefinitionRegistry in project components by Talend.
the class SnowflakeRuntimeIOTestIT method getDefinitionService.
@Override
protected DefinitionRegistryService getDefinitionService() {
DefinitionRegistry definitionRegistry = new DefinitionRegistry();
definitionRegistry.registerComponentFamilyDefinition(new SnowflakeFamilyDefinition());
return definitionRegistry;
}
use of org.talend.components.api.service.common.DefinitionRegistry in project components by Talend.
the class SnowflakeTestIT method getComponentService.
@Override
public ComponentService getComponentService() {
if (componentService == null) {
DefinitionRegistry testComponentRegistry = new DefinitionRegistry();
// register component
testComponentRegistry.registerComponentFamilyDefinition(new SnowflakeFamilyDefinition());
componentService = new ComponentServiceImpl(testComponentRegistry);
}
return componentService;
}
Aggregations