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 TransportConfigRuleSet extends JRuleSetBase { 36 37 41 public TransportConfigRuleSet(String prefix) { 42 super(prefix); 43 } 44 48 49 public void addRuleInstances(Digester digester) { 50 digester.addObjectCreate(prefix + "transport-config", 51 "org.objectweb.jonas_ejb.deployment.xml.TransportConfigMapping"); 52 digester.addSetNext(prefix + "transport-config", 53 "setTransportConfig", 54 "org.objectweb.jonas_ejb.deployment.xml.TransportConfigMapping"); 55 digester.addCallMethod(prefix + "transport-config/integrity", "setIntegrity", 0); 56 digester.addCallMethod(prefix + "transport-config/confidentiality", "setConfidentiality", 0); 57 digester.addCallMethod(prefix + "transport-config/establish-trust-in-target", "setEstablishTrustInTarget", 0); 58 digester.addCallMethod(prefix + "transport-config/establish-trust-in-client", "setEstablishTrustInClient", 0); 59 } 60 } 61 | Popular Tags |