public final class java.rmi.registry.LocateRegistry
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: java.rmi.registry.LocateRegistry
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/rmi/registry/LocateRegistry;
public static java.rmi.registry.Registry getRegistry();
descriptor: ()Ljava/rmi/registry/Registry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: aconst_null
sipush 1099
invokestatic java.rmi.registry.LocateRegistry.getRegistry:(Ljava/lang/String;I)Ljava/rmi/registry/Registry;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.rmi.RemoteException
public static java.rmi.registry.Registry getRegistry(int);
descriptor: (I)Ljava/rmi/registry/Registry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aconst_null
iload 0
invokestatic java.rmi.registry.LocateRegistry.getRegistry:(Ljava/lang/String;I)Ljava/rmi/registry/Registry;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 port I
Exceptions:
throws java.rmi.RemoteException
MethodParameters:
Name Flags
port
public static java.rmi.registry.Registry getRegistry(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/rmi/registry/Registry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
sipush 1099
invokestatic java.rmi.registry.LocateRegistry.getRegistry:(Ljava/lang/String;I)Ljava/rmi/registry/Registry;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 host Ljava/lang/String;
Exceptions:
throws java.rmi.RemoteException
MethodParameters:
Name Flags
host
public static java.rmi.registry.Registry getRegistry(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljava/rmi/registry/Registry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
aconst_null
invokestatic java.rmi.registry.LocateRegistry.getRegistry:(Ljava/lang/String;ILjava/rmi/server/RMIClientSocketFactory;)Ljava/rmi/registry/Registry;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 host Ljava/lang/String;
0 1 1 port I
Exceptions:
throws java.rmi.RemoteException
MethodParameters:
Name Flags
host
port
public static java.rmi.registry.Registry getRegistry(java.lang.String, int, java.rmi.server.RMIClientSocketFactory);
descriptor: (Ljava/lang/String;ILjava/rmi/server/RMIClientSocketFactory;)Ljava/rmi/registry/Registry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifgt 2
1: sipush 1099
istore 1
2: StackMap locals:
StackMap stack:
aload 0
ifnull 3
aload 0
invokevirtual java.lang.String.length:()I
ifne 7
3: StackMap locals:
StackMap stack:
invokestatic java.net.InetAddress.getLocalHost:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
astore 0
4: goto 7
StackMap locals:
StackMap stack: java.lang.Exception
5: pop
6: ldc ""
astore 0
7: StackMap locals:
StackMap stack:
new sun.rmi.transport.LiveRef
dup
new java.rmi.server.ObjID
dup
iconst_0
invokespecial java.rmi.server.ObjID.<init>:(I)V
8: new sun.rmi.transport.tcp.TCPEndpoint
dup
aload 0
iload 1
aload 2
aconst_null
invokespecial sun.rmi.transport.tcp.TCPEndpoint.<init>:(Ljava/lang/String;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;)V
9: iconst_0
10: invokespecial sun.rmi.transport.LiveRef.<init>:(Ljava/rmi/server/ObjID;Lsun/rmi/transport/Endpoint;Z)V
11: astore 3
start local 3 12: aload 2
ifnonnull 13
new sun.rmi.server.UnicastRef
dup
aload 3
invokespecial sun.rmi.server.UnicastRef.<init>:(Lsun/rmi/transport/LiveRef;)V
goto 14
StackMap locals: sun.rmi.transport.LiveRef
StackMap stack:
13: new sun.rmi.server.UnicastRef2
dup
aload 3
invokespecial sun.rmi.server.UnicastRef2.<init>:(Lsun/rmi/transport/LiveRef;)V
14: StackMap locals:
StackMap stack: sun.rmi.server.UnicastRef
astore 4
start local 4 15: ldc Lsun/rmi/registry/RegistryImpl;
aload 4
iconst_0
invokestatic sun.rmi.server.Util.createProxy:(Ljava/lang/Class;Ljava/rmi/server/RemoteRef;Z)Ljava/rmi/Remote;
checkcast java.rmi.registry.Registry
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 host Ljava/lang/String;
0 16 1 port I
0 16 2 csf Ljava/rmi/server/RMIClientSocketFactory;
12 16 3 liveRef Lsun/rmi/transport/LiveRef;
15 16 4 ref Ljava/rmi/server/RemoteRef;
Exception table:
from to target type
3 4 5 Class java.lang.Exception
Exceptions:
throws java.rmi.RemoteException
MethodParameters:
Name Flags
host
port
csf
public static java.rmi.registry.Registry createRegistry(int);
descriptor: (I)Ljava/rmi/registry/Registry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.rmi.registry.RegistryImpl
dup
iload 0
invokespecial sun.rmi.registry.RegistryImpl.<init>:(I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 port I
Exceptions:
throws java.rmi.RemoteException
MethodParameters:
Name Flags
port
public static java.rmi.registry.Registry createRegistry(int, java.rmi.server.RMIClientSocketFactory, java.rmi.server.RMIServerSocketFactory);
descriptor: (ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;)Ljava/rmi/registry/Registry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new sun.rmi.registry.RegistryImpl
dup
iload 0
aload 1
aload 2
invokespecial sun.rmi.registry.RegistryImpl.<init>:(ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 port I
0 1 1 csf Ljava/rmi/server/RMIClientSocketFactory;
0 1 2 ssf Ljava/rmi/server/RMIServerSocketFactory;
Exceptions:
throws java.rmi.RemoteException
MethodParameters:
Name Flags
port
csf
ssf
}
SourceFile: "LocateRegistry.java"