use of org.whole.lang.xsd.mapping.builders.MappingGenericBuilderAdapter in project whole by wholeplatform.
the class MappingLanguageDeployer method deploy.
public void deploy(ReflectionFactory platform) {
platform.addLanguageKit(new MappingLanguageKit());
platform.addOperationFactory(MappingLanguageKit.URI, GenericBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new MappingGenericBuilderAdapter((IMappingBuilder) strategy, entityContext);
}
});
platform.addOperationFactory(MappingLanguageKit.URI, SpecificBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new MappingSpecificBuilderAdapter(strategy, entityContext);
}
});
}
Aggregations