Hi,

I'm trying to genericize the use of the drl files. For example, I'm going 
to pass in a request and from the request, I will be able to determine 
what delegate to use.  So I assert a request and delegate, but the 
delegate is instantiated to null, so when i do this: 

rule name="testRequest">
     <parameter identifier="request">
        <class>com.dtcc.dnv.request.IServiceRequest</class>
     </parameter>
     <parameter identifier="delegate">
        <class>com.dtcc.dnv.delegate.IDelegate</class>
     </parameter>
 
     <java:consequence>delegate = new 
com.dtcc.dnv.delegate.LoginDelegate();</java:consequence>

  </rule>

it doesn't even get into the rule b/c the delegate is null.  I'm using 
drools 2.5. Can someone help with this?


Thanks,
Susan G. Lee

Reply via email to