1 17 18 19 package org.apache.catalina; 20 21 import org.apache.catalina.deploy.NamingResources; 22 23 47 48 public interface Server { 49 50 51 53 54 59 public String getInfo(); 60 61 62 65 public NamingResources getGlobalNamingResources(); 66 67 68 73 public void setGlobalNamingResources 74 (NamingResources globalNamingResources); 75 76 77 80 public int getPort(); 81 82 83 88 public void setPort(int port); 89 90 91 94 public String getShutdown(); 95 96 97 102 public void setShutdown(String shutdown); 103 104 105 107 108 113 public void addService(Service service); 114 115 116 119 public void await(); 120 121 122 128 public Service findService(String name); 129 130 131 134 public Service[] findServices(); 135 136 137 143 public void removeService(Service service); 144 145 151 public void initialize() 152 throws LifecycleException; 153 } 154 | Popular Tags |