use of com.avaloq.tools.ddk.xtext.linking.LazyLinkingResource2 in project dsl-devkit by dsldevkit.
the class BuilderIntegrationFragment method getGuiceBindingsRt.
@Override
public Set<Binding> getGuiceBindingsRt(final Grammar grammar) {
final Set<Binding> bindings = super.getGuiceBindingsRt(grammar);
final BindFactory factory = new BindFactory();
factory.addTypeToType(IContainer.Manager.class.getName(), "com.avaloq.tools.ddk.xtext.builder.CachingStateBasedContainerManager");
factory.addTypeToType(LazyLinkingResource.class.getName(), LazyLinkingResource2.class.getName());
factory.addTypeToType(LazyURIEncoder.class.getName(), FastLazyURIEncoder.class.getName());
final Set<Binding> result = factory.getBindings();
result.addAll(bindings);
return result;
}
Aggregations