use of org.whole.lang.rdb.builders.RDBGenericBuilderAdapter in project whole by wholeplatform.
the class RDBLanguageDeployer method deploy.
public void deploy(ReflectionFactory platform) {
platform.addLanguageKit(new RDBLanguageKit());
platform.addOperationFactory(RDBLanguageKit.URI, GenericBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new RDBGenericBuilderAdapter((IRDBBuilder) strategy, entityContext);
}
});
platform.addOperationFactory(RDBLanguageKit.URI, SpecificBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new RDBSpecificBuilderAdapter(strategy, entityContext);
}
});
}
Aggregations