InternalFactHandle handle = this.handleFactory.newFactHandle( queryObject,
null,
this,
this );
final PropagationContext propagationContext = new PropagationContextImpl( getNextPropagationIdCounter(),
PropagationContext.INSERTION,
null,
null,
handle,
agenda.getActiveActivations(),
agenda.getDormantActivations(),
getEntryPoint() );
getEntryPointNode().assertQuery( handle,
propagationContext,
this );
propagationContext.evaluateActionQueue( this );
this.handleFactory.destroyFactHandle( handle );
BaseNode[] nodes = this.ruleBase.getReteooBuilder().getTerminalNodes( queryObject.getQuery() );