use of org.whole.lang.versions.builders.VersionsGenericBuilderAdapter in project whole by wholeplatform.
the class VersionsLanguageDeployer method deploy.
public void deploy(ReflectionFactory platform) {
platform.addLanguageKit(new VersionsLanguageKit());
platform.addOperationFactory(VersionsLanguageKit.URI, GenericBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new VersionsGenericBuilderAdapter((IVersionsBuilder) strategy, entityContext);
}
});
platform.addOperationFactory(VersionsLanguageKit.URI, SpecificBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new VersionsSpecificBuilderAdapter(strategy, entityContext);
}
});
}
Aggregations