Examples of removeActivation()


Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.removeActivation()

      closed = true;

      LanguageConnectionContext lcc = getLanguageConnectionContext();

      lcc.removeActivation(this);
      if (preStmt != null) {
        preStmt.finish(lcc);
        preStmt = null;
      }
View Full Code Here

Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.removeActivation()

      closed = true;

      LanguageConnectionContext lcc = getLanguageConnectionContext();

      lcc.removeActivation(this);
      if (preStmt != null) {
        preStmt.finish(lcc);
        preStmt = null;
      }
View Full Code Here

Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.removeActivation()

            // dependency manager. (DERBY-4571)
            DependencyManager dm =
                    lcc.getDataDictionary().getDependencyManager();
            dm.clearDependencies(lcc, this);

      lcc.removeActivation(this);
      if (preStmt != null) {
        preStmt.finish(lcc);
        preStmt = null;
      }
View Full Code Here

Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.removeActivation()

      closed = true;

      LanguageConnectionContext lcc = getLanguageConnectionContext();

      lcc.removeActivation(this);
      if (preStmt != null) {
        preStmt.finish(lcc);
        preStmt = null;
      }
View Full Code Here

Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.removeActivation()

      closed = true;

      LanguageConnectionContext lcc = getLanguageConnectionContext();

      lcc.removeActivation(this);
      if (preStmt != null) {
        preStmt.finish(lcc);
        preStmt = null;
      }
View Full Code Here

Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.removeActivation()

            // dependency manager. (DERBY-4571)
            DependencyManager dm =
                    lcc.getDataDictionary().getDependencyManager();
            dm.clearDependencies(lcc, this);

      lcc.removeActivation(this);
      if (preStmt != null) {
        preStmt.finish(lcc);
        preStmt = null;
      }
View Full Code Here

Examples of org.drools.common.DefaultAgenda.removeActivation()

            // This a control rule activation, nothing to do except update counters. As control rules are not in agenda-groups etc.
            agenda.decreaseDormantActivations(); // because we know ControlRules fire straight away and then become dormant
            return;
        } else {
            // we are retracting an actual Activation, so also remove it and it's handle from the WM.
            agenda.removeActivation( (AgendaItem) activation );
        }

        if activation.isActivated() ) {
            // on fact expiration, we don't remove the activation, but let it fire
            if ( context.getType() == PropagationContext.EXPIRATION && context.getFactHandleOrigin() != null ) {
View Full Code Here

Examples of org.drools.common.InternalRuleFlowGroup.removeActivation()

                targetMatch.getActivationGroupNode().getActivationGroup().removeActivation( targetMatch );
            }

            if ( targetMatch.getActivationNode() != null ) {
                final InternalRuleFlowGroup ruleFlowGroup = (InternalRuleFlowGroup) targetMatch.getActivationNode().getParentContainer();
                ruleFlowGroup.removeActivation( targetMatch );
            }
        }
    }
   
    public void unblockAllActivations(org.drools.runtime.rule.Activation act) {
View Full Code Here

Examples of org.drools.common.InternalRuleFlowGroup.removeActivation()

                targetMatch.getActivationGroupNode().getActivationGroup().removeActivation( targetMatch );
            }

            if ( targetMatch.getActivationNode() != null ) {
                final InternalRuleFlowGroup ruleFlowGroup = (InternalRuleFlowGroup) targetMatch.getActivationNode().getParentContainer();
                ruleFlowGroup.removeActivation( targetMatch );
            }
        }
    }
   
    public void unblockAllMatches(Match act) {
View Full Code Here

Examples of org.drools.common.InternalRuleFlowGroup.removeActivation()

                    activation.getActivationGroupNode().getActivationGroup().removeActivation( activation );
                }

                if ( activation.getRuleFlowGroupNode() != null ) {
                    final InternalRuleFlowGroup ruleFlowGroup = activation.getRuleFlowGroupNode().getRuleFlowGroup();
                    ruleFlowGroup.removeActivation( activation );
                }

                ((EventSupport) workingMemory).getAgendaEventSupport().fireActivationCancelled( activation,
                                                                                                workingMemory,
                                                                                                ActivationCancelledCause.WME_MODIFY );
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.