1 24 package org.objectweb.jonas_ejb.deployment.rules; 25 26 import org.apache.commons.digester.Digester; 27 import org.objectweb.jonas_lib.deployment.rules.JRuleSetBase; 28 29 34 35 public class SasContextRuleSet extends JRuleSetBase { 36 37 41 public SasContextRuleSet(String prefix) { 42 super(prefix); 43 } 44 48 49 public void addRuleInstances(Digester digester) { 50 digester.addObjectCreate(prefix + "sas-context", 51 "org.objectweb.jonas_ejb.deployment.xml.SasContextMapping"); 52 digester.addSetNext(prefix + "sas-context", 53 "setSasContext", 54 "org.objectweb.jonas_ejb.deployment.xml.SasContextMapping"); 55 digester.addCallMethod(prefix + "sas-context/caller-propagation", "setCallerPropagation", 0); 56 } 57 } 58 | Popular Tags |