public class examples.ServiceDiscoveryBackendConsulExamples
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: examples.ServiceDiscoveryBackendConsulExamples
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // examples.ServiceDiscoveryBackendConsulExamples this
0: .line 11
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // examples.ServiceDiscoveryBackendConsulExamples this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lexamples/ServiceDiscoveryBackendConsulExamples;
public void configuration1(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 // examples.ServiceDiscoveryBackendConsulExamples this
start local 1 // io.vertx.core.Vertx vertx
0: .line 14
aload 1 /* vertx */
new io.vertx.servicediscovery.ServiceDiscoveryOptions
dup
invokespecial io.vertx.servicediscovery.ServiceDiscoveryOptions.<init>:()V
1: .line 16
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
2: .line 17
ldc "defaultHost"
ldc "127.0.0.1"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
3: .line 18
ldc "dc"
ldc "my-dc"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
4: .line 15
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.setBackendConfiguration:(Lio/vertx/core/json/JsonObject;)Lio/vertx/servicediscovery/ServiceDiscoveryOptions;
5: .line 14
invokestatic io.vertx.servicediscovery.ServiceDiscovery.create:(Lio/vertx/core/Vertx;Lio/vertx/servicediscovery/ServiceDiscoveryOptions;)Lio/vertx/servicediscovery/ServiceDiscovery;
pop
6: .line 20
return
end local 1 // io.vertx.core.Vertx vertx
end local 0 // examples.ServiceDiscoveryBackendConsulExamples this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lexamples/ServiceDiscoveryBackendConsulExamples;
0 7 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
}
SourceFile: "ServiceDiscoveryBackendConsulExamples.java"