use of org.whole.lang.workflows.builders.WorkflowsGenericBuilderAdapter in project whole by wholeplatform.
the class WorkflowsLanguageDeployer method deploy.
public void deploy(ReflectionFactory platform) {
platform.addLanguageKit(new WorkflowsLanguageKit());
platform.addOperationFactory(WorkflowsLanguageKit.URI, GenericBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new WorkflowsGenericBuilderAdapter((IWorkflowsBuilder) strategy, entityContext);
}
});
platform.addOperationFactory(WorkflowsLanguageKit.URI, SpecificBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new WorkflowsSpecificBuilderAdapter(strategy, entityContext);
}
});
}
Aggregations