<br>Is there any way to circumvent the constraint that only <span style="font-style: italic;">getter </span>methods can be called from the asserted bean object? If the input data is dynamic in nature and instead I capture it in a HashMap, then how can I retrieve specific
<span style="font-style: italic;">key-value </span>pairs in the "when" block of a Rule?<br><br>Basically, I need to utilize a method, in the bean, which would have a definition like:<br><br><code><br>public String getValue(String sKey){
<br> <br> return (String)hmpData.get(sKey);<br><br>}<br></code><br><br>Can this <span style="font-style: italic;">getValue</span> method be accessed by the "when" block? If no, then can someone let me know which class in the source I might have to tweak to extract a similar behavior from the engine?
<br><br>Thanks a lot!<br>Anirvan<br>