org.drools.jsr94.rules
Class RuleRuntimeImpl

java.lang.Object
  |
  +--org.drools.jsr94.rules.RuleRuntimeImpl
All Implemented Interfaces:
javax.rules.RuleRuntime, java.io.Serializable

public class RuleRuntimeImpl
extends java.lang.Object
implements javax.rules.RuleRuntime

RuleRuntime interface.

See Also:
RuleRuntime, Serialized Form

Field Summary
 
Fields inherited from interface javax.rules.RuleRuntime
STATEFUL_SESSION_TYPE, STATELESS_SESSION_TYPE
 
Constructor Summary
RuleRuntimeImpl()
           
 
Method Summary
 javax.rules.RuleSession createRuleSession(java.lang.String bindUri, java.util.Map properties, int ruleSessionType)
          Creates a RuleSession implementation using the supplied vendor-specific rule execution set registration URI.
 java.util.List getRegistrations()
          Retrieves a List of the URIs that currently have RuleExecutionSets associated with them.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleRuntimeImpl

public RuleRuntimeImpl()
Method Detail

createRuleSession

public javax.rules.RuleSession createRuleSession(java.lang.String bindUri,
                                                 java.util.Map properties,
                                                 int ruleSessionType)
                                          throws javax.rules.RuleExecutionSetNotFoundException,
                                                 javax.rules.RuleSessionTypeUnsupportedException
Creates a RuleSession implementation using the supplied vendor-specific rule execution set registration URI.

Specified by:
createRuleSession in interface javax.rules.RuleRuntime
javax.rules.RuleExecutionSetNotFoundException
javax.rules.RuleSessionTypeUnsupportedException
See Also:
RuleRuntime.createRuleSession(java.lang.String, java.util.Map, int)

getRegistrations

public java.util.List getRegistrations()
Retrieves a List of the URIs that currently have RuleExecutionSets associated with them. An empty list is returned is there are no associations.

Specified by:
getRegistrations in interface javax.rules.RuleRuntime
See Also:
RuleRuntime.getRegistrations()