[rules-users] Drools Spring module

ahmed fayed ahmed.fayed at gmail.com
Wed Nov 17 02:25:19 EST 2010


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 at 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 listrules-users at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101117/da644a64/attachment.html 


More information about the rules-users mailing list