InternalKnowledgeBase kBase2 = (InternalKnowledgeBase) KnowledgeBaseFactory.newKnowledgeBase();
BuildContext buildContext = new BuildContext(kBase2, kBase2.getReteooBuilder().getIdGenerator());
this.node = new JoinNode(15, this.tupleSource, this.objectSource,
new DefaultBetaConstraints(
new BetaNodeFieldConstraint[]{this.constraint},
configuration),
buildContext);
this.node.addTupleSink(this.sink);