1 27 package org.objectweb.jonas_client.deployment.rules; 28 29 import org.apache.commons.digester.Digester; 30 import org.objectweb.jonas_lib.deployment.rules.JRuleSetBase; 31 import org.objectweb.jonas_lib.deployment.rules.EnvironmentRuleSet; 32 import org.objectweb.jonas_lib.deployment.rules.IconRuleSet; 33 import org.objectweb.jonas_lib.deployment.rules.MessageDestinationRuleSet; 34 35 40 public class ApplicationClientRuleSet extends JRuleSetBase { 41 42 48 49 52 public ApplicationClientRuleSet() { 53 super("application-client/"); 54 } 55 59 60 public void addRuleInstances(Digester digester) { 61 digester.addRuleSet(new IconRuleSet(prefix)); 62 digester.addCallMethod(prefix + "display-name", 63 "setDisplayName", 0); 64 digester.addCallMethod(prefix + "description", 65 "setDescription", 0); 66 digester.addRuleSet(new EnvironmentRuleSet(prefix)); 67 digester.addCallMethod(prefix + "callback-handler", 68 "setCallbackHandler", 0); 69 digester.addRuleSet(new MessageDestinationRuleSet(prefix)); 70 } 71 } 72 | Popular Tags |