1 27 package org.objectweb.jonas_ejb.deployment.rules; 28 29 import org.apache.commons.digester.Digester; 30 import org.objectweb.jonas_lib.deployment.rules.JRuleSetBase; 31 32 37 38 public class EnterpriseBeansRuleSet extends JRuleSetBase { 39 40 44 public EnterpriseBeansRuleSet(String prefix) { 45 super(prefix); 46 } 47 51 52 public void addRuleInstances(Digester digester) { 53 digester.addObjectCreate(prefix + "enterprise-beans", 54 "org.objectweb.jonas_ejb.deployment.xml.EnterpriseBeans"); 55 digester.addSetNext(prefix + "enterprise-beans", 56 "setEnterpriseBeans", 57 "org.objectweb.jonas_ejb.deployment.xml.EnterpriseBeans"); 58 digester.addRuleSet(new SessionRuleSet(prefix + "enterprise-beans/")); 59 digester.addRuleSet(new EntityRuleSet(prefix + "enterprise-beans/")); 60 digester.addRuleSet(new MessageDrivenRuleSet(prefix + "enterprise-beans/")); 61 } 62 } 63 | Popular Tags |