|
34 | 34 | import javax.management.JMX; |
35 | 35 | import javax.management.MBeanServer; |
36 | 36 | import javax.management.ObjectName; |
37 | | -import jakarta.security.auth.message.config.AuthConfigFactory; |
38 | | -import jakarta.servlet.ServletContext; |
39 | | -import jakarta.servlet.ServletException; |
40 | 37 | import javax.xml.XMLConstants; |
41 | 38 | import javax.xml.parsers.DocumentBuilder; |
42 | 39 | import javax.xml.parsers.DocumentBuilderFactory; |
43 | 40 |
|
44 | | -import org.apache.catalina.Cluster; |
45 | 41 | import org.apache.catalina.Container; |
46 | 42 | import org.apache.catalina.Context; |
47 | 43 | import org.apache.catalina.Engine; |
|
68 | 64 | import org.slf4j.LoggerFactory; |
69 | 65 | import org.springframework.beans.factory.DisposableBean; |
70 | 66 | import org.springframework.beans.factory.InitializingBean; |
71 | | -import org.springframework.beans.factory.annotation.Autowired; |
72 | 67 | import org.springframework.context.ApplicationContext; |
73 | 68 | import org.springframework.context.support.AbstractApplicationContext; |
74 | 69 | import org.springframework.jmx.export.annotation.ManagedResource; |
|
80 | 75 | import org.w3c.dom.Node; |
81 | 76 | import org.w3c.dom.NodeList; |
82 | 77 |
|
83 | | -import io.antmedia.cluster.IClusterNotifier; |
84 | 78 | import io.antmedia.component.AppConfig; |
| 79 | +import jakarta.security.auth.message.config.AuthConfigFactory; |
| 80 | +import jakarta.servlet.ServletContext; |
| 81 | +import jakarta.servlet.ServletException; |
85 | 82 |
|
86 | 83 | /** |
87 | 84 | * Red5 loader for Tomcat. |
@@ -170,12 +167,6 @@ public boolean accept(File dir, String name) { |
170 | 167 | */ |
171 | 168 | protected List<TomcatConnector> connectors; |
172 | 169 |
|
173 | | - |
174 | | - /** |
175 | | - * Cluster |
176 | | - */ |
177 | | - private IClusterNotifier clusterNotifier; |
178 | | - |
179 | 170 | /** |
180 | 171 | * Valves |
181 | 172 | */ |
@@ -915,18 +906,4 @@ public List<TomcatConnector> getConnectors() { |
915 | 906 | return connectors; |
916 | 907 | } |
917 | 908 |
|
918 | | - /** |
919 | | - * @return the clusterNotifier |
920 | | - */ |
921 | | - public IClusterNotifier getClusterNotifier() { |
922 | | - return clusterNotifier; |
923 | | - } |
924 | | - |
925 | | - /** |
926 | | - * @param clusterNotifier the clusterNotifier to set |
927 | | - */ |
928 | | - public void setClusterNotifier(IClusterNotifier clusterNotifier) { |
929 | | - this.clusterNotifier = clusterNotifier; |
930 | | - } |
931 | | - |
932 | 909 | } |
0 commit comments