public class examples.ConfigKubernetesExamples
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: examples.ConfigKubernetesExamples
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.ConfigKubernetesExamples this
0: .line 29
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // examples.ConfigKubernetesExamples this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lexamples/ConfigKubernetesExamples;
public void example1(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 // examples.ConfigKubernetesExamples this
start local 1 // io.vertx.core.Vertx vertx
0: .line 33
new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
1: .line 34
ldc "configmap"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
2: .line 35
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
3: .line 36
ldc "namespace"
ldc "my-project-namespace"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
4: .line 37
ldc "name"
ldc "configmap-name"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
5: .line 35
invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
6: .line 33
astore 2 /* store */
start local 2 // io.vertx.config.ConfigStoreOptions store
7: .line 40
aload 1 /* vertx */
8: .line 41
new io.vertx.config.ConfigRetrieverOptions
dup
invokespecial io.vertx.config.ConfigRetrieverOptions.<init>:()V
aload 2 /* store */
invokevirtual io.vertx.config.ConfigRetrieverOptions.addStore:(Lio/vertx/config/ConfigStoreOptions;)Lio/vertx/config/ConfigRetrieverOptions;
9: .line 40
invokestatic io.vertx.config.ConfigRetriever.create:(Lio/vertx/core/Vertx;Lio/vertx/config/ConfigRetrieverOptions;)Lio/vertx/config/ConfigRetriever;
pop
10: .line 42
return
end local 2 // io.vertx.config.ConfigStoreOptions store
end local 1 // io.vertx.core.Vertx vertx
end local 0 // examples.ConfigKubernetesExamples this
LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lexamples/ConfigKubernetesExamples;
0 11 1 vertx Lio/vertx/core/Vertx;
7 11 2 store Lio/vertx/config/ConfigStoreOptions;
MethodParameters:
Name Flags
vertx
public void example2(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 // examples.ConfigKubernetesExamples this
start local 1 // io.vertx.core.Vertx vertx
0: .line 45
new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
1: .line 46
ldc "configmap"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
2: .line 47
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
3: .line 48
ldc "namespace"
ldc "my-project-namespace"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
4: .line 49
ldc "name"
ldc "my-secret"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
5: .line 50
ldc "secret"
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
6: .line 47
invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
7: .line 45
astore 2 /* store */
start local 2 // io.vertx.config.ConfigStoreOptions store
8: .line 53
aload 1 /* vertx */
9: .line 54
new io.vertx.config.ConfigRetrieverOptions
dup
invokespecial io.vertx.config.ConfigRetrieverOptions.<init>:()V
aload 2 /* store */
invokevirtual io.vertx.config.ConfigRetrieverOptions.addStore:(Lio/vertx/config/ConfigStoreOptions;)Lio/vertx/config/ConfigRetrieverOptions;
10: .line 53
invokestatic io.vertx.config.ConfigRetriever.create:(Lio/vertx/core/Vertx;Lio/vertx/config/ConfigRetrieverOptions;)Lio/vertx/config/ConfigRetriever;
pop
11: .line 55
return
end local 2 // io.vertx.config.ConfigStoreOptions store
end local 1 // io.vertx.core.Vertx vertx
end local 0 // examples.ConfigKubernetesExamples this
LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lexamples/ConfigKubernetesExamples;
0 12 1 vertx Lio/vertx/core/Vertx;
8 12 2 store Lio/vertx/config/ConfigStoreOptions;
MethodParameters:
Name Flags
vertx
}
SourceFile: "ConfigKubernetesExamples.java"