public class io.vertx.ext.mongo.MongoServiceVerticle extends io.vertx.core.AbstractVerticle
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.mongo.MongoServiceVerticle
super_class: io.vertx.core.AbstractVerticle
{
io.vertx.ext.mongo.MongoService service;
descriptor: Lio/vertx/ext/mongo/MongoService;
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // io.vertx.ext.mongo.MongoServiceVerticle this
0: .line 12
aload 0 /* this */
invokespecial io.vertx.core.AbstractVerticle.<init>:()V
return
end local 0 // io.vertx.ext.mongo.MongoServiceVerticle this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/mongo/MongoServiceVerticle;
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 // io.vertx.ext.mongo.MongoServiceVerticle this
0: .line 20
aload 0 /* this */
new io.vertx.ext.mongo.impl.MongoServiceImpl
dup
aload 0 /* this */
getfield io.vertx.ext.mongo.MongoServiceVerticle.vertx:Lio/vertx/core/Vertx;
aload 0 /* this */
invokevirtual io.vertx.ext.mongo.MongoServiceVerticle.config:()Lio/vertx/core/json/JsonObject;
invokestatic io.vertx.ext.mongo.MongoClient.createNonShared:(Lio/vertx/core/Vertx;Lio/vertx/core/json/JsonObject;)Lio/vertx/ext/mongo/MongoClient;
invokespecial io.vertx.ext.mongo.impl.MongoServiceImpl.<init>:(Lio/vertx/ext/mongo/MongoClient;)V
putfield io.vertx.ext.mongo.MongoServiceVerticle.service:Lio/vertx/ext/mongo/MongoService;
1: .line 23
aload 0 /* this */
invokevirtual io.vertx.ext.mongo.MongoServiceVerticle.config:()Lio/vertx/core/json/JsonObject;
ldc "address"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 1 /* address */
start local 1 // java.lang.String address
2: .line 24
aload 1 /* address */
ifnonnull 4
3: .line 25
new java.lang.IllegalStateException
dup
ldc "address field must be specified in config for client verticle"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: .line 27
StackMap locals: java.lang.String
StackMap stack:
ldc Lio/vertx/ext/mongo/MongoService;
aload 0 /* this */
getfield io.vertx.ext.mongo.MongoServiceVerticle.vertx:Lio/vertx/core/Vertx;
aload 0 /* this */
getfield io.vertx.ext.mongo.MongoServiceVerticle.service:Lio/vertx/ext/mongo/MongoService;
aload 1 /* address */
invokestatic io.vertx.serviceproxy.ProxyHelper.registerService:(Ljava/lang/Class;Lio/vertx/core/Vertx;Ljava/lang/Object;Ljava/lang/String;)Lio/vertx/core/eventbus/MessageConsumer;
pop
5: .line 28
return
end local 1 // java.lang.String address
end local 0 // io.vertx.ext.mongo.MongoServiceVerticle this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/ext/mongo/MongoServiceVerticle;
2 6 1 address Ljava/lang/String;
Exceptions:
throws java.lang.Exception
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // io.vertx.ext.mongo.MongoServiceVerticle this
0: .line 32
aload 0 /* this */
getfield io.vertx.ext.mongo.MongoServiceVerticle.service:Lio/vertx/ext/mongo/MongoService;
invokeinterface io.vertx.ext.mongo.MongoService.close:()V
1: .line 33
return
end local 0 // io.vertx.ext.mongo.MongoServiceVerticle this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/mongo/MongoServiceVerticle;
Exceptions:
throws java.lang.Exception
}
SourceFile: "MongoServiceVerticle.java"