1 18 19 20 package org.apache.catalina.startup; 21 22 23 import org.apache.catalina.connector.Connector; 24 import org.apache.tomcat.util.digester.Rule; 25 import org.xml.sax.Attributes ; 26 27 28 31 32 public class ConnectorCreateRule extends Rule { 33 34 35 37 38 43 public void begin(Attributes attributes) throws Exception { 44 digester.push(new Connector(attributes.getValue("protocol"))); 45 } 46 47 48 51 public void end() throws Exception { 52 Object top = digester.pop(); 53 } 54 55 56 } 57 | Popular Tags |