[jboss-jira] [JBoss JIRA] Created: (JBRULES-2554) Adding a StatefulKnowledgeSessionAware Interface

Anatoly Polinsky (JIRA) jira-events at lists.jboss.org
Tue Jun 22 16:16:46 EDT 2010


Adding a StatefulKnowledgeSessionAware Interface
------------------------------------------------

                 Key: JBRULES-2554
                 URL: https://jira.jboss.org/browse/JBRULES-2554
             Project: Drools
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: drools-api
    Affects Versions: 5.1.0.M2
         Environment: N/A
            Reporter: Anatoly Polinsky
            Assignee: Mark Proctor
            Priority: Minor


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.. ).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list