use of org.whole.lang.json.builders.JSONSpecificBuilderAdapter in project whole by wholeplatform.
the class JSONLanguageDeployer method deploy.
public void deploy(ReflectionFactory platform) {
platform.addLanguageKit(new JSONLanguageKit());
platform.addOperationFactory(JSONLanguageKit.URI, GenericBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new JSONGenericBuilderAdapter((IJSONBuilder) strategy, entityContext);
}
});
platform.addOperationFactory(JSONLanguageKit.URI, SpecificBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new JSONSpecificBuilderAdapter(strategy, entityContext);
}
});
}
Aggregations