1 17 18 19 package org.apache.catalina; 20 21 import org.apache.catalina.connector.Connector; 22 23 24 37 38 public interface Service { 39 40 41 43 44 48 public Container getContainer(); 49 50 51 57 public void setContainer(Container container); 58 59 60 65 public String getInfo(); 66 67 68 71 public String getName(); 72 73 74 79 public void setName(String name); 80 81 82 85 public Server getServer(); 86 87 88 93 public void setServer(Server server); 94 95 96 98 99 105 public void addConnector(Connector connector); 106 107 108 111 public Connector[] findConnectors(); 112 113 114 121 public void removeConnector(Connector connector); 122 123 129 public void initialize() 130 throws LifecycleException; 131 132 } 133 | Popular Tags |