public class MRulesFactory extends Object implements ObjectFactory
RuleRuntime.STATELESS_SESSION_TYPE
as String
/ RuleRuntime.STATEFUL_SESSION_TYPE
as String
(to obtain a AbstractMRuleSession
; omit this property to obtain a IMRuleExecutionSet
)Constructor and Description |
---|
MRulesFactory() |
Modifier and Type | Method and Description |
---|---|
Object |
getObjectInstance(Object object,
Name name,
Context nameCtx,
Hashtable<?,?> environment)
Returns
IMRuleExecutionSet or AbstractMRuleSession depending on provided parameters. |
public Object getObjectInstance(Object object, Name name, Context nameCtx, Hashtable<?,?> environment) throws NamingException
IMRuleExecutionSet
or AbstractMRuleSession
depending on provided parameters.getObjectInstance
in interface ObjectFactory
NamingException