I mean a rule like this,
@Rule
@Service(value="broker.authorization")
public class BrokerAuthorization {

@Condition
public boolean isInvalidAuthorization(SampleProcessDTO spDTO)
{
return true;
}
@Consequence
public void consequence(SampleProcessDTO spDTO)
{
}
}


The package org.drools.spring.metadata.annotation.java is no more in the new spring module, where is it now?

Thanks.

2010/11/16 Mark Proctor <mproctor@codehaus.org>
On 16/11/2010 14:45, ahmed fayed wrote:
Hi, 
Are the new Spring Module support creating POJO Rules? I could't find the rule, condition, and consequence annotations classes in the new JARs in 5.1, any idea if it's still supported and in which JAR?
what's a pojo rule?

The spring stuff allows for declarative building of knowlege bases and session instantiation. See the "integration" documentation.

Mark

Thanks in advance.
_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users