1 27 package org.objectweb.jonas_lib.deployment.rules; 28 29 import org.apache.commons.digester.Digester; 30 31 36 37 public class SecurityRoleRefRuleSet extends JRuleSetBase { 38 39 43 public SecurityRoleRefRuleSet(String prefix) { 44 super(prefix); 45 } 46 50 51 public void addRuleInstances(Digester digester) { 52 digester.addObjectCreate(prefix + "security-role-ref", 53 "org.objectweb.jonas_lib.deployment.xml.SecurityRoleRef"); 54 digester.addSetNext(prefix + "security-role-ref", 55 "addSecurityRoleRef", 56 "org.objectweb.jonas_lib.deployment.xml.SecurityRoleRef"); 57 digester.addCallMethod(prefix + "security-role-ref/description", 58 "setDescription", 0); 59 digester.addCallMethod(prefix + "security-role-ref/role-name", 60 "setRoleName", 0); 61 digester.addCallMethod(prefix + "security-role-ref/role-link", 62 "setRoleLink", 0); 63 } 64 } 65 | Popular Tags |