public class org.eclipse.jetty.jmx.ConnectorServer extends org.eclipse.jetty.util.component.AbstractLifeCycle
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.jmx.ConnectorServer
super_class: org.eclipse.jetty.util.component.AbstractLifeCycle
{
public static final java.lang.String RMI_REGISTRY_CLIENT_SOCKET_FACTORY_ATTRIBUTE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.jndi.rmi.factory.socket"
private static final org.eclipse.jetty.util.log.Logger LOG;
descriptor: Lorg/eclipse/jetty/util/log/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private javax.management.remote.JMXServiceURL _jmxURL;
descriptor: Ljavax/management/remote/JMXServiceURL;
flags: (0x0002) ACC_PRIVATE
private final java.util.Map<java.lang.String, java.lang.Object> _environment;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
private final java.lang.String _objectName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jetty.util.ssl.SslContextFactory _sslContextFactory;
descriptor: Lorg/eclipse/jetty/util/ssl/SslContextFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int _registryPort;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int _rmiPort;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private javax.management.remote.JMXConnectorServer _connectorServer;
descriptor: Ljavax/management/remote/JMXConnectorServer;
flags: (0x0002) ACC_PRIVATE
private java.rmi.registry.Registry _registry;
descriptor: Ljava/rmi/registry/Registry;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/jmx/ConnectorServer;
invokestatic org.eclipse.jetty.util.log.Log.getLogger:(Ljava/lang/Class;)Lorg/eclipse/jetty/util/log/Logger;
putstatic org.eclipse.jetty.jmx.ConnectorServer.LOG:Lorg/eclipse/jetty/util/log/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(javax.management.remote.JMXServiceURL, java.lang.String);
descriptor: (Ljavax/management/remote/JMXServiceURL;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
aload 2
invokespecial org.eclipse.jetty.jmx.ConnectorServer.<init>:(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/jmx/ConnectorServer;
0 2 1 serviceURL Ljavax/management/remote/JMXServiceURL;
0 2 2 name Ljava/lang/String;
MethodParameters:
Name Flags
serviceURL
name
public void <init>(javax.management.remote.JMXServiceURL, java.util.Map<java.lang.String, ?>, java.lang.String);
descriptor: (Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
aconst_null
invokespecial org.eclipse.jetty.jmx.ConnectorServer.<init>:(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljava/lang/String;Lorg/eclipse/jetty/util/ssl/SslContextFactory;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/jmx/ConnectorServer;
0 2 1 svcUrl Ljavax/management/remote/JMXServiceURL;
0 2 2 environment Ljava/util/Map<Ljava/lang/String;*>;
0 2 3 name Ljava/lang/String;
Signature: (Ljavax/management/remote/JMXServiceURL;Ljava/util/Map<Ljava/lang/String;*>;Ljava/lang/String;)V
MethodParameters:
Name Flags
svcUrl
environment
name
public void <init>(javax.management.remote.JMXServiceURL, java.util.Map<java.lang.String, ?>, java.lang.String, org.eclipse.jetty.util.ssl.SslContextFactory);
descriptor: (Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljava/lang/String;Lorg/eclipse/jetty/util/ssl/SslContextFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial org.eclipse.jetty.util.component.AbstractLifeCycle.<init>:()V
1: aload 0
aload 1
putfield org.eclipse.jetty.jmx.ConnectorServer._jmxURL:Ljavax/management/remote/JMXServiceURL;
2: aload 0
aload 2
ifnonnull 3
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
goto 4
StackMap locals: org.eclipse.jetty.jmx.ConnectorServer javax.management.remote.JMXServiceURL java.util.Map java.lang.String org.eclipse.jetty.util.ssl.SslContextFactory
StackMap stack: org.eclipse.jetty.jmx.ConnectorServer
3: new java.util.HashMap
dup
aload 2
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
StackMap locals: org.eclipse.jetty.jmx.ConnectorServer javax.management.remote.JMXServiceURL java.util.Map java.lang.String org.eclipse.jetty.util.ssl.SslContextFactory
StackMap stack: org.eclipse.jetty.jmx.ConnectorServer java.util.HashMap
4: putfield org.eclipse.jetty.jmx.ConnectorServer._environment:Ljava/util/Map;
5: aload 0
aload 3
putfield org.eclipse.jetty.jmx.ConnectorServer._objectName:Ljava/lang/String;
6: aload 0
aload 4
putfield org.eclipse.jetty.jmx.ConnectorServer._sslContextFactory:Lorg/eclipse/jetty/util/ssl/SslContextFactory;
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/jmx/ConnectorServer;
0 8 1 svcUrl Ljavax/management/remote/JMXServiceURL;
0 8 2 environment Ljava/util/Map<Ljava/lang/String;*>;
0 8 3 name Ljava/lang/String;
0 8 4 sslContextFactory Lorg/eclipse/jetty/util/ssl/SslContextFactory;
Signature: (Ljavax/management/remote/JMXServiceURL;Ljava/util/Map<Ljava/lang/String;*>;Ljava/lang/String;Lorg/eclipse/jetty/util/ssl/SslContextFactory;)V
MethodParameters:
Name Flags
svcUrl
environment
name
sslContextFactory
public javax.management.remote.JMXServiceURL getAddress();
descriptor: ()Ljavax/management/remote/JMXServiceURL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._jmxURL:Ljavax/management/remote/JMXServiceURL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/jmx/ConnectorServer;
public void doStart();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=1
start local 0 0: ldc "rmi"
aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._jmxURL:Ljavax/management/remote/JMXServiceURL;
invokevirtual javax.management.remote.JMXServiceURL.getProtocol:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
istore 1
start local 1 1: iload 1
ifeq 10
2: aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._environment:Ljava/util/Map;
ldc "jmx.remote.rmi.server.socket.factory"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 4
3: aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._environment:Ljava/util/Map;
ldc "jmx.remote.rmi.server.socket.factory"
new org.eclipse.jetty.jmx.ConnectorServer$JMXRMIServerSocketFactory
dup
aload 0
aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._jmxURL:Ljavax/management/remote/JMXServiceURL;
invokevirtual javax.management.remote.JMXServiceURL.getHost:()Ljava/lang/String;
aload 0
invokedynamic accept(Lorg/eclipse/jetty/jmx/ConnectorServer;)Ljava/util/function/IntConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(I)V
org/eclipse/jetty/jmx/ConnectorServer.lambda$0(I)V (7)
(I)V
invokespecial org.eclipse.jetty.jmx.ConnectorServer$JMXRMIServerSocketFactory.<init>:(Lorg/eclipse/jetty/jmx/ConnectorServer;Ljava/lang/String;Ljava/util/function/IntConsumer;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._sslContextFactory:Lorg/eclipse/jetty/util/ssl/SslContextFactory;
ifnull 10
5: new javax.rmi.ssl.SslRMIClientSocketFactory
dup
invokespecial javax.rmi.ssl.SslRMIClientSocketFactory.<init>:()V
astore 2
start local 2 6: aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._environment:Ljava/util/Map;
ldc "jmx.remote.rmi.client.socket.factory"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 8
7: aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._environment:Ljava/util/Map;
ldc "jmx.remote.rmi.client.socket.factory"
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: StackMap locals: javax.rmi.ssl.SslRMIClientSocketFactory
StackMap stack:
aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._environment:Ljava/util/Map;
ldc "com.sun.jndi.rmi.factory.socket"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 10
9: aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._environment:Ljava/util/Map;
ldc "com.sun.jndi.rmi.factory.socket"
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 10: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._jmxURL:Ljavax/management/remote/JMXServiceURL;
invokevirtual javax.management.remote.JMXServiceURL.getURLPath:()Ljava/lang/String;
astore 2
start local 2 11: ldc "/jndi/rmi://"
astore 3
start local 3 12: aload 2
aload 3
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 21
13: aload 3
invokevirtual java.lang.String.length:()I
istore 4
start local 4 14: aload 2
bipush 47
iload 4
invokevirtual java.lang.String.indexOf:(II)I
istore 5
start local 5 15: new org.eclipse.jetty.util.HostPort
dup
aload 2
iload 4
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokespecial org.eclipse.jetty.util.HostPort.<init>:(Ljava/lang/String;)V
astore 6
start local 6 16: aload 0
aload 6
invokevirtual org.eclipse.jetty.jmx.ConnectorServer.startRegistry:(Lorg/eclipse/jetty/util/HostPort;)Ljava/lang/String;
astore 7
start local 7 17: aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._registryPort:I
ifne 19
18: aload 0
aload 6
invokevirtual org.eclipse.jetty.util.HostPort.getPort:()I
putfield org.eclipse.jetty.jmx.ConnectorServer._registryPort:I
19: StackMap locals: org.eclipse.jetty.jmx.ConnectorServer int java.lang.String java.lang.String int int org.eclipse.jetty.util.HostPort java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._registryPort:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
aload 2
iload 5
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
20: aload 0
new javax.management.remote.JMXServiceURL
dup
aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._jmxURL:Ljavax/management/remote/JMXServiceURL;
invokevirtual javax.management.remote.JMXServiceURL.getProtocol:()Ljava/lang/String;
aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._jmxURL:Ljavax/management/remote/JMXServiceURL;
invokevirtual javax.management.remote.JMXServiceURL.getHost:()Ljava/lang/String;
aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._jmxURL:Ljavax/management/remote/JMXServiceURL;
invokevirtual javax.management.remote.JMXServiceURL.getPort:()I
aload 2
invokespecial javax.management.remote.JMXServiceURL.<init>:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
putfield org.eclipse.jetty.jmx.ConnectorServer._jmxURL:Ljavax/management/remote/JMXServiceURL;
end local 7 end local 6 end local 5 end local 4 21: StackMap locals: org.eclipse.jetty.jmx.ConnectorServer int java.lang.String java.lang.String
StackMap stack:
invokestatic java.lang.management.ManagementFactory.getPlatformMBeanServer:()Ljavax/management/MBeanServer;
astore 4
start local 4 22: aload 0
aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._jmxURL:Ljavax/management/remote/JMXServiceURL;
aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._environment:Ljava/util/Map;
aload 4
invokestatic javax.management.remote.JMXConnectorServerFactory.newJMXConnectorServer:(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljavax/management/MBeanServer;)Ljavax/management/remote/JMXConnectorServer;
putfield org.eclipse.jetty.jmx.ConnectorServer._connectorServer:Ljavax/management/remote/JMXConnectorServer;
23: aload 4
aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._connectorServer:Ljavax/management/remote/JMXConnectorServer;
new javax.management.ObjectName
dup
aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._objectName:Ljava/lang/String;
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
invokeinterface javax.management.MBeanServer.registerMBean:(Ljava/lang/Object;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance;
pop
24: aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._connectorServer:Ljavax/management/remote/JMXConnectorServer;
invokevirtual javax.management.remote.JMXConnectorServer.start:()V
25: aload 0
aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._jmxURL:Ljavax/management/remote/JMXServiceURL;
invokevirtual javax.management.remote.JMXServiceURL.getHost:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.jmx.ConnectorServer.normalizeHost:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 26: aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._rmiPort:I
ifne 28
27: aload 0
aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._registryPort:I
putfield org.eclipse.jetty.jmx.ConnectorServer._rmiPort:I
28: StackMap locals: javax.management.MBeanServer java.lang.String
StackMap stack:
aload 0
new javax.management.remote.JMXServiceURL
dup
aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._jmxURL:Ljavax/management/remote/JMXServiceURL;
invokevirtual javax.management.remote.JMXServiceURL.getProtocol:()Ljava/lang/String;
aload 5
aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._rmiPort:I
aload 2
invokespecial javax.management.remote.JMXServiceURL.<init>:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
putfield org.eclipse.jetty.jmx.ConnectorServer._jmxURL:Ljavax/management/remote/JMXServiceURL;
29: iconst_0
iconst_1
anewarray org.eclipse.jetty.util.component.LifeCycle
dup
iconst_0
aload 0
aastore
invokestatic org.eclipse.jetty.util.thread.ShutdownThread.register:(I[Lorg/eclipse/jetty/util/component/LifeCycle;)V
30: getstatic org.eclipse.jetty.jmx.ConnectorServer.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "JMX URL: {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._jmxURL:Ljavax/management/remote/JMXServiceURL;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.info:(Ljava/lang/String;[Ljava/lang/Object;)V
31: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lorg/eclipse/jetty/jmx/ConnectorServer;
1 32 1 rmi Z
6 10 2 csf Ljavax/rmi/ssl/SslRMIClientSocketFactory;
11 32 2 urlPath Ljava/lang/String;
12 32 3 jndiRMI Ljava/lang/String;
14 21 4 startIndex I
15 21 5 endIndex I
16 21 6 hostPort Lorg/eclipse/jetty/util/HostPort;
17 21 7 registryHost Ljava/lang/String;
22 32 4 mbeanServer Ljavax/management/MBeanServer;
26 32 5 rmiHost Ljava/lang/String;
Exceptions:
throws java.lang.Exception
public void doStop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.eclipse.jetty.util.thread.ShutdownThread.deregister:(Lorg/eclipse/jetty/util/component/LifeCycle;)V
1: aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._connectorServer:Ljavax/management/remote/JMXConnectorServer;
invokevirtual javax.management.remote.JMXConnectorServer.stop:()V
2: invokestatic java.lang.management.ManagementFactory.getPlatformMBeanServer:()Ljavax/management/MBeanServer;
astore 1
start local 1 3: aload 1
new javax.management.ObjectName
dup
aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._objectName:Ljava/lang/String;
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
invokeinterface javax.management.MBeanServer.unregisterMBean:(Ljavax/management/ObjectName;)V
4: aload 0
invokevirtual org.eclipse.jetty.jmx.ConnectorServer.stopRegistry:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/jmx/ConnectorServer;
3 6 1 mbeanServer Ljavax/management/MBeanServer;
Exceptions:
throws java.lang.Exception
private java.lang.String startRegistry(org.eclipse.jetty.util.HostPort);
descriptor: (Lorg/eclipse/jetty/util/HostPort;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.eclipse.jetty.util.HostPort.getHost:()Ljava/lang/String;
astore 2
start local 2 1: aload 1
sipush 1099
invokevirtual org.eclipse.jetty.util.HostPort.getPort:(I)I
istore 3
start local 3 2: aload 2
iload 3
invokestatic java.rmi.registry.LocateRegistry.getRegistry:(Ljava/lang/String;I)Ljava/rmi/registry/Registry;
invokeinterface java.rmi.registry.Registry.list:()[Ljava/lang/String;
pop
3: aload 0
aload 2
invokevirtual org.eclipse.jetty.jmx.ConnectorServer.normalizeHost:(Ljava/lang/String;)Ljava/lang/String;
4: areturn
5: StackMap locals: org.eclipse.jetty.jmx.ConnectorServer org.eclipse.jetty.util.HostPort java.lang.String int
StackMap stack: java.lang.Throwable
astore 4
start local 4 6: getstatic org.eclipse.jetty.jmx.ConnectorServer.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 4
invokeinterface org.eclipse.jetty.util.log.Logger.ignore:(Ljava/lang/Throwable;)V
end local 4 7: aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._sslContextFactory:Lorg/eclipse/jetty/util/ssl/SslContextFactory;
ifnonnull 8
aconst_null
goto 9
StackMap locals:
StackMap stack:
8: new javax.rmi.ssl.SslRMIClientSocketFactory
dup
invokespecial javax.rmi.ssl.SslRMIClientSocketFactory.<init>:()V
StackMap locals:
StackMap stack: javax.rmi.ssl.SslRMIClientSocketFactory
9: astore 4
start local 4 10: new org.eclipse.jetty.jmx.ConnectorServer$JMXRMIServerSocketFactory
dup
aload 0
aload 2
aload 0
invokedynamic accept(Lorg/eclipse/jetty/jmx/ConnectorServer;)Ljava/util/function/IntConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(I)V
org/eclipse/jetty/jmx/ConnectorServer.lambda$1(I)V (7)
(I)V
invokespecial org.eclipse.jetty.jmx.ConnectorServer$JMXRMIServerSocketFactory.<init>:(Lorg/eclipse/jetty/jmx/ConnectorServer;Ljava/lang/String;Ljava/util/function/IntConsumer;)V
astore 5
start local 5 11: aload 0
iload 3
aload 4
aload 5
invokestatic java.rmi.registry.LocateRegistry.createRegistry:(ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;)Ljava/rmi/registry/Registry;
putfield org.eclipse.jetty.jmx.ConnectorServer._registry:Ljava/rmi/registry/Registry;
12: aload 0
aload 2
invokevirtual org.eclipse.jetty.jmx.ConnectorServer.normalizeHost:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/eclipse/jetty/jmx/ConnectorServer;
0 13 1 hostPort Lorg/eclipse/jetty/util/HostPort;
1 13 2 host Ljava/lang/String;
2 13 3 port I
6 7 4 ex Ljava/lang/Throwable;
10 13 4 csf Ljava/rmi/server/RMIClientSocketFactory;
11 13 5 ssf Ljava/rmi/server/RMIServerSocketFactory;
Exception table:
from to target type
2 4 5 Class java.lang.Throwable
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
hostPort
private java.lang.String normalizeHost(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
StackMap locals:
StackMap stack:
1: invokestatic java.net.InetAddress.getLocalHost:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getHostName:()Ljava/lang/String;
goto 3
StackMap locals:
StackMap stack:
2: aload 1
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/jmx/ConnectorServer;
0 4 1 host Ljava/lang/String;
Exceptions:
throws java.net.UnknownHostException
MethodParameters:
Name Flags
host
private void stopRegistry();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._registry:Ljava/rmi/registry/Registry;
ifnull 10
1: aload 0
getfield org.eclipse.jetty.jmx.ConnectorServer._registry:Ljava/rmi/registry/Registry;
iconst_1
invokestatic java.rmi.server.UnicastRemoteObject.unexportObject:(Ljava/rmi/Remote;Z)Z
pop
2: goto 9
3: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 4: getstatic org.eclipse.jetty.jmx.ConnectorServer.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 1
invokeinterface org.eclipse.jetty.util.log.Logger.ignore:(Ljava/lang/Throwable;)V
end local 1 5: aload 0
aconst_null
putfield org.eclipse.jetty.jmx.ConnectorServer._registry:Ljava/rmi/registry/Registry;
goto 10
6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
7: aload 0
aconst_null
putfield org.eclipse.jetty.jmx.ConnectorServer._registry:Ljava/rmi/registry/Registry;
8: aload 2
athrow
9: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.eclipse.jetty.jmx.ConnectorServer._registry:Ljava/rmi/registry/Registry;
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jetty/jmx/ConnectorServer;
4 5 1 ex Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
1 5 6 any
private void lambda$0(int);
descriptor: (I)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
dup_x1
putfield org.eclipse.jetty.jmx.ConnectorServer._rmiPort:I
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/jmx/ConnectorServer;
0 1 1 port I
private void lambda$1(int);
descriptor: (I)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
dup_x1
putfield org.eclipse.jetty.jmx.ConnectorServer._registryPort:I
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/jmx/ConnectorServer;
0 1 1 p I
}
SourceFile: "ConnectorServer.java"
NestMembers:
org.eclipse.jetty.jmx.ConnectorServer$JMXRMIServerSocketFactory
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private JMXRMIServerSocketFactory = org.eclipse.jetty.jmx.ConnectorServer$JMXRMIServerSocketFactory of org.eclipse.jetty.jmx.ConnectorServer