use of org.whole.lang.testevents.builders.TestEventsSpecificBuilderAdapter in project whole by wholeplatform.
the class TestEventsLanguageDeployer method deploy.
public void deploy(ReflectionFactory platform) {
if (ReflectionFactory.getLanguageKitRegistry().containsResource(TestEventsLanguageKit.URI, false, null))
return;
platform.addLanguageKit(new TestEventsLanguageKit());
platform.addOperationFactory(TestEventsLanguageKit.URI, GenericBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new TestEventsGenericBuilderAdapter((ITestEventsBuilder) strategy, entityContext);
}
});
platform.addOperationFactory(TestEventsLanguageKit.URI, SpecificBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new TestEventsSpecificBuilderAdapter(strategy, entityContext);
}
});
}
Aggregations