use of org.whole.lang.patterns.builders.PatternsSpecificBuilderAdapter in project whole by wholeplatform.
the class PatternsLanguageDeployer method deploy.
public void deploy(ReflectionFactory platform) {
platform.addLanguageKit(new PatternsLanguageKit());
platform.addOperationFactory(PatternsLanguageKit.URI, GenericBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new PatternsGenericBuilderAdapter((IPatternsBuilder) strategy, entityContext);
}
});
platform.addOperationFactory(PatternsLanguageKit.URI, SpecificBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new PatternsSpecificBuilderAdapter(strategy, entityContext);
}
});
}
Aggregations