1 26 27 package org.objectweb.jonas_lib.deployment.rules; 28 29 import org.apache.commons.digester.Digester; 30 31 35 public class JonasResourceEnvRuleSet extends JRuleSetBase { 36 37 41 public JonasResourceEnvRuleSet(String prefix) { 42 super(prefix); 43 } 44 45 49 public void addRuleInstances(Digester digester) { 50 digester.addObjectCreate(prefix + "jonas-resource-env", 51 "org.objectweb.jonas_lib.deployment.xml.JonasResourceEnv"); 52 digester.addSetNext(prefix + "jonas-resource-env", 53 "addJonasResourceEnv", 54 "org.objectweb.jonas_lib.deployment.xml.JonasResourceEnv"); 55 56 digester.addCallMethod(prefix + "jonas-resource-env/resource-env-ref-name", 57 "setResourceEnvRefName", 0); 58 digester.addCallMethod(prefix + "jonas-resource-env/jndi-name", 59 "setJndiName", 0); 60 61 } 62 63 64 } 65 | Popular Tags |