Examples of evaluateActionQueue()


Examples of org.drools.spi.PropagationContext.evaluateActionQueue()

            this.entryPointNode.modifyObject( handle,
                                              propagationContext,
                                              typeConf,
                                              this.wm );
           
            propagationContext.evaluateActionQueue( this.wm );

            this.wm.workingMemoryEventSupport.fireObjectUpdated( propagationContext,
                                                              factHandle,
                                                              originalObject,
                                                              object,
View Full Code Here

Examples of org.drools.spi.PropagationContext.evaluateActionQueue()

            if ( handle.isTraitOrTraitable() && handle.getObject() instanceof TraitProxy ) {
                ((TraitableBean) ( (TraitProxy) handle.getObject() ).getObject()).removeTrait( ( (TraitProxy) handle.getObject() ).getTypeCode() );
            }

            propagationContext.evaluateActionQueue( this.wm );
           

            this.wm.workingMemoryEventSupport.fireObjectRetracted( propagationContext,
                                                                handle,
                                                                object,
View Full Code Here

Examples of org.drools.spi.PropagationContext.evaluateActionQueue()

                                                                                 PropagationContext.RULE_ADDITION,
                                                                                 null,
                                                                                 null,
                                                                                 null);
        this.updateSinkOnAttach( context, propagationContext, workingMemory );
        propagationContext.evaluateActionQueue( workingMemory );
    }

    /**
     * A method that is called for all nodes whose network below them
     * changed, after the change is complete, providing them with an oportunity
View Full Code Here

Examples of org.drools.spi.PropagationContext.evaluateActionQueue()

            for ( BaseNode node : context.getNodes() ) {
                node.updateSinkOnAttach( context, propagationContext, workingMemory );
            }

            propagationContext.evaluateActionQueue( workingMemory );
        }
    }

    public boolean requiresLeftActivation(BuildUtils utils, RuleConditionElement rce) {
        return false;
View Full Code Here

Examples of org.drools.spi.PropagationContext.evaluateActionQueue()

            getEntryPointNode().assertQuery( handle,
                                             propagationContext,
                                             this );

            propagationContext.evaluateActionQueue( this );

            executeQueuedActions();

            return new LiveQueryImpl( this,
                                      handle );
View Full Code Here

Examples of org.drools.spi.PropagationContext.evaluateActionQueue()

            getEntryPointNode().retractQuery( factHandle,
                                              propagationContext,
                                              this );

            propagationContext.evaluateActionQueue( this );

            getFactHandleFactory().destroyFactHandle( factHandle );

        } finally {
            this.lock.unlock();
View Full Code Here

Examples of org.drools.spi.PropagationContext.evaluateActionQueue()

            ReteooRuleBase ruleBase = (ReteooRuleBase) workingMemory.getRuleBase();
            ruleBase.assertObject( this.factHandle,
                                   this.factHandle.getObject(),
                                   context,
                                   workingMemory );
            context.evaluateActionQueue( workingMemory );
        }

        public void execute(InternalKnowledgeRuntime kruntime) {
            execute( ((StatefulKnowledgeSessionImpl) kruntime).getInternalWorkingMemory() );
        }
View Full Code Here

Examples of org.drools.spi.PropagationContext.evaluateActionQueue()

                eventHandle.setExpired( true );
                this.node.retractObject( factHandle,
                                         context,
                                         workingMemory );

                context.evaluateActionQueue( workingMemory );
                // if no activations for this expired event
                if ( eventHandle.getActivationsCount() == 0 ) {
                    // remove it from the object store and clean up resources
                    eventHandle.getEntryPoint().retract( factHandle );
                }
View Full Code Here

Examples of org.drools.spi.PropagationContext.evaluateActionQueue()

                // if no activations for this expired event
                if ( eventHandle.getActivationsCount() == 0 ) {
                    // remove it from the object store and clean up resources
                    eventHandle.getEntryPoint().retract( factHandle );
                }
                context.evaluateActionQueue( workingMemory );
            }

        }

        public void execute(InternalKnowledgeRuntime kruntime) {
View Full Code Here

Examples of org.drools.spi.PropagationContext.evaluateActionQueue()

                                                                    defaultEntryPoint.getEntryPoint(),
                                                                    context );

        otc.getConcreteObjectTypeNode().assertObject( this.initialFactHandle, pctx, this );
        // ADDED, NOT IN THE ORIGINAL 6.x COMMIT
        pctx.evaluateActionQueue( this );
        ruleBase.unlock();
    }

    private void initManagementBeans() {
        if ( this.ruleBase.getConfiguration().isMBeansEnabled() ) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.