Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2554

Adding a StatefulKnowledgeSessionAware Interface

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Documentation (Ref Guide, User Guide, etc.)
    • Low

    Description

      Interface to be implemented by any object that wishes to be notified of the

      {@link org.drools.runtime.StatefulKnowledgeSession}

      that it runs in.

      Implementing this interface makes sense for example when an object requires access to session artifacts/details such as rule facts, sessionID, etc.

      This interface can be implemented by a custom

      {@link org.drools.process.instance.WorkItemHandler}

      in case, for example, it needs to access a session to insert / retract some facts before proceeding further to the process node that fires rules ( groups, agendas, etc.. ).

      Attachments

        Activity

          People

            mproctor@redhat.com Mark Proctor
            Anat0ly Anatoly Polinsky (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Archived:

              Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified

                PagerDuty