1 26 27 package org.objectweb.jonas_lib.deployment.rules; 28 29 import org.apache.commons.digester.Digester; 30 31 36 public class JonasEnvironmentRuleSet extends JRuleSetBase { 37 38 42 public JonasEnvironmentRuleSet(String prefix) { 43 super(prefix); 44 } 45 46 50 public void addRuleInstances(Digester digester) { 51 digester.addRuleSet(new JonasResourceEnvRuleSet(prefix)); 52 digester.addRuleSet(new JonasResourceRuleSet(prefix)); 53 digester.addRuleSet(new JonasEjbRefRuleSet(prefix)); 54 digester.addRuleSet(new JonasServiceRefRuleSet(prefix)); 55 digester.addRuleSet(new JonasMessageDestinationRefRuleSet(prefix)); 56 digester.addCallMethod(prefix + "run-as/principal-name", "setRunAsPrincipalName", 0); 57 } 58 59 } | Popular Tags |