1 26 package org.objectweb.jonas_web.deployment.rules; 27 28 import org.apache.commons.digester.Digester; 29 30 import org.objectweb.jonas_lib.deployment.rules.JRuleSetBase; 31 32 36 public class UserDataConstraintRuleSet extends JRuleSetBase { 37 38 39 43 public UserDataConstraintRuleSet(String prefix) { 44 super(prefix); 45 } 46 47 48 52 public void addRuleInstances(Digester digester) { 53 digester.addObjectCreate(prefix + "user-data-constraint", 54 "org.objectweb.jonas_web.deployment.xml.UserDataConstraint"); 55 digester.addSetNext(prefix + "user-data-constraint", 56 "setUserDataConstraint", 57 "org.objectweb.jonas_web.deployment.xml.UserDataConstraint"); 58 59 digester.addCallMethod(prefix + "user-data-constraint/description", 60 "addDescription", 0); 61 62 digester.addCallMethod(prefix + "user-data-constraint/transport-guarantee", 63 "setTransportGuarantee", 0); 64 65 } 66 } 67 68 | Popular Tags |