Search in sources :

Example 1 with GeneratorRegistration

use of org.talend.sdk.component.starter.server.service.event.GeneratorRegistration in project component-runtime by Talend.

the class ProjectGenerator method init.

@PostConstruct
private void init() {
    final GeneratorRegistration event = new GeneratorRegistration();
    registrationEvent.fire(event);
    generators.putAll(event.getBuildGenerators());
    facets.putAll(event.getFacetGenerators());
    scopesOrdering = asList("provided", "compile", "runtime", "test");
}
Also used : GeneratorRegistration(org.talend.sdk.component.starter.server.service.event.GeneratorRegistration) PostConstruct(javax.annotation.PostConstruct)

Aggregations

PostConstruct (javax.annotation.PostConstruct)1 GeneratorRegistration (org.talend.sdk.component.starter.server.service.event.GeneratorRegistration)1