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 AsContextRuleSet extends JRuleSetBase { 36 37 41 public AsContextRuleSet(String prefix) { 42 super(prefix); 43 } 44 48 49 public void addRuleInstances(Digester digester) { 50 digester.addObjectCreate(prefix + "as-context", 51 "org.objectweb.jonas_ejb.deployment.xml.AsContextMapping"); 52 digester.addSetNext(prefix + "as-context", 53 "setAsContext", 54 "org.objectweb.jonas_ejb.deployment.xml.AsContextMapping"); 55 digester.addCallMethod(prefix + "as-context/auth-method", "setAuthMethod", 0); 56 digester.addCallMethod(prefix + "as-context/realm", "setRealm", 0); 57 digester.addCallMethod(prefix + "as-context/required", "setRequired", 0); 58 } 59 } 60 | Popular Tags |