[seam-commits] Seam SVN: r12348 - modules/drools/trunk/core/src/main/java/org/jboss/seam/drools.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Apr 1 01:34:48 EDT 2010


Author: tsurdilovic
Date: 2010-04-01 01:34:48 -0400 (Thu, 01 Apr 2010)
New Revision: 12348

Modified:
   modules/drools/trunk/core/src/main/java/org/jboss/seam/drools/KnowledgeBaseProducer.java
Log:
added @ApplicationScoped

Modified: modules/drools/trunk/core/src/main/java/org/jboss/seam/drools/KnowledgeBaseProducer.java
===================================================================
--- modules/drools/trunk/core/src/main/java/org/jboss/seam/drools/KnowledgeBaseProducer.java	2010-04-01 05:25:52 UTC (rev 12347)
+++ modules/drools/trunk/core/src/main/java/org/jboss/seam/drools/KnowledgeBaseProducer.java	2010-04-01 05:34:48 UTC (rev 12348)
@@ -34,7 +34,7 @@
    private static final Logger log = LoggerFactory.getLogger(KnowledgeBaseProducer.class);
    @Inject BeanManager manager;
 
-   @Produces
+   @Produces @ApplicationScoped
    public KnowledgeBase produceKBase(KnowledgeBaseConfig kbaseConfig) throws Exception
    {
       KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder(getKnowledgeBuilderConfiguration(kbaseConfig));



More information about the seam-commits mailing list