use of org.whole.lang.templates.builders.ITemplatesBuilder in project whole by wholeplatform.
the class TemplatesLanguageDeployer method deploy.
public void deploy(ReflectionFactory platform) {
platform.addLanguageKit(new TemplatesLanguageKit());
platform.addOperationFactory(TemplatesLanguageKit.URI, GenericBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new TemplatesGenericBuilderAdapter((ITemplatesBuilder) strategy, entityContext);
}
});
platform.addOperationFactory(TemplatesLanguageKit.URI, SpecificBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new TemplatesSpecificBuilderAdapter(strategy, entityContext);
}
});
}
Aggregations