public class org.apache.dubbo.remoting.http.servlet.ServletManager extends java.lang.Object
{
public static final int EXTERNAL_SERVER_PORT;
private static final org.apache.dubbo.remoting.http.servlet.ServletManager INSTANCE;
private final java.util.Map contextMap;
public void <init>()
{
java.util.concurrent.ConcurrentHashMap v;
org.apache.dubbo.remoting.http.servlet.ServletManager v;
v := @this: org.apache.dubbo.remoting.http.servlet.ServletManager;
specialinvoke v.<java.lang.Object: void <init>()>();
v = new java.util.concurrent.ConcurrentHashMap;
specialinvoke v.<java.util.concurrent.ConcurrentHashMap: void <init>()>();
v.<org.apache.dubbo.remoting.http.servlet.ServletManager: java.util.Map contextMap> = v;
return;
}
public static org.apache.dubbo.remoting.http.servlet.ServletManager getInstance()
{
org.apache.dubbo.remoting.http.servlet.ServletManager v;
v = <org.apache.dubbo.remoting.http.servlet.ServletManager: org.apache.dubbo.remoting.http.servlet.ServletManager INSTANCE>;
return v;
}
public void addServletContext(int, javax.servlet.ServletContext)
{
java.util.Map v;
int v;
org.apache.dubbo.remoting.http.servlet.ServletManager v;
javax.servlet.ServletContext v;
java.lang.Integer v;
v := @this: org.apache.dubbo.remoting.http.servlet.ServletManager;
v := @parameter: int;
v := @parameter: javax.servlet.ServletContext;
v = v.<org.apache.dubbo.remoting.http.servlet.ServletManager: java.util.Map contextMap>;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
interfaceinvoke v.<java.util.Map: java.lang.Object put(java.lang.Object,java.lang.Object)>(v, v);
return;
}
public void removeServletContext(int)
{
java.util.Map v;
int v;
org.apache.dubbo.remoting.http.servlet.ServletManager v;
java.lang.Integer v;
v := @this: org.apache.dubbo.remoting.http.servlet.ServletManager;
v := @parameter: int;
v = v.<org.apache.dubbo.remoting.http.servlet.ServletManager: java.util.Map contextMap>;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
interfaceinvoke v.<java.util.Map: java.lang.Object remove(java.lang.Object)>(v);
return;
}
public javax.servlet.ServletContext getServletContext(int)
{
java.util.Map v;
int v;
org.apache.dubbo.remoting.http.servlet.ServletManager v;
java.lang.Object v;
java.lang.Integer v;
v := @this: org.apache.dubbo.remoting.http.servlet.ServletManager;
v := @parameter: int;
v = v.<org.apache.dubbo.remoting.http.servlet.ServletManager: java.util.Map contextMap>;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v = interfaceinvoke v.<java.util.Map: java.lang.Object get(java.lang.Object)>(v);
return v;
}
static void <clinit>()
{
org.apache.dubbo.remoting.http.servlet.ServletManager v;
v = new org.apache.dubbo.remoting.http.servlet.ServletManager;
specialinvoke v.<org.apache.dubbo.remoting.http.servlet.ServletManager: void <init>()>();
<org.apache.dubbo.remoting.http.servlet.ServletManager: org.apache.dubbo.remoting.http.servlet.ServletManager INSTANCE> = v;
return;
}
}