public class io.vertx.lang.ruby.JRubyVerticle implements io.vertx.core.Verticle
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.lang.ruby.JRubyVerticle
super_class: java.lang.Object
{
private final io.vertx.lang.ruby.JRubyVerticleFactory factory;
descriptor: Lio/vertx/lang/ruby/JRubyVerticleFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.lang.ruby.ContainerHolder holder;
descriptor: Lio/vertx/lang/ruby/ContainerHolder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.ClassLoader classLoader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String verticleName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private io.vertx.core.Vertx vertx;
descriptor: Lio/vertx/core/Vertx;
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.Context context;
descriptor: Lio/vertx/core/Context;
flags: (0x0002) ACC_PRIVATE
private io.vertx.lang.ruby.Deployment instance;
descriptor: Lio/vertx/lang/ruby/Deployment;
flags: (0x0002) ACC_PRIVATE
public void <init>(io.vertx.lang.ruby.JRubyVerticleFactory, io.vertx.lang.ruby.ContainerHolder, java.lang.ClassLoader, java.lang.String);
descriptor: (Lio/vertx/lang/ruby/JRubyVerticleFactory;Lio/vertx/lang/ruby/ContainerHolder;Ljava/lang/ClassLoader;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.vertx.lang.ruby.JRubyVerticle.factory:Lio/vertx/lang/ruby/JRubyVerticleFactory;
2: aload 0
aload 2
putfield io.vertx.lang.ruby.JRubyVerticle.holder:Lio/vertx/lang/ruby/ContainerHolder;
3: aload 0
aload 3
putfield io.vertx.lang.ruby.JRubyVerticle.classLoader:Ljava/lang/ClassLoader;
4: aload 0
aload 4
putfield io.vertx.lang.ruby.JRubyVerticle.verticleName:Ljava/lang/String;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/lang/ruby/JRubyVerticle;
0 6 1 factory Lio/vertx/lang/ruby/JRubyVerticleFactory;
0 6 2 holder Lio/vertx/lang/ruby/ContainerHolder;
0 6 3 classLoader Ljava/lang/ClassLoader;
0 6 4 verticleName Ljava/lang/String;
MethodParameters:
Name Flags
factory
holder
classLoader
verticleName
public io.vertx.core.Vertx getVertx();
descriptor: ()Lio/vertx/core/Vertx;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.lang.ruby.JRubyVerticle.vertx:Lio/vertx/core/Vertx;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/lang/ruby/JRubyVerticle;
public void init(io.vertx.core.Vertx, io.vertx.core.Context);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/core/Context;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
putfield io.vertx.lang.ruby.JRubyVerticle.vertx:Lio/vertx/core/Vertx;
1: aload 0
aload 2
putfield io.vertx.lang.ruby.JRubyVerticle.context:Lio/vertx/core/Context;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/lang/ruby/JRubyVerticle;
0 3 1 vertx Lio/vertx/core/Vertx;
0 3 2 context Lio/vertx/core/Context;
MethodParameters:
Name Flags
vertx
context
public void start(io.vertx.core.Future<java.lang.Void>);
descriptor: (Lio/vertx/core/Future;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.lang.ruby.JRubyVerticle.context:Lio/vertx/core/Context;
invokeinterface io.vertx.core.Context.config:()Lio/vertx/core/json/JsonObject;
ldc "GEM_PATH"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 4
aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 4
2: aload 0
aload 0
getfield io.vertx.lang.ruby.JRubyVerticle.holder:Lio/vertx/lang/ruby/ContainerHolder;
aload 2
aload 0
getfield io.vertx.lang.ruby.JRubyVerticle.vertx:Lio/vertx/core/Vertx;
aload 0
getfield io.vertx.lang.ruby.JRubyVerticle.classLoader:Ljava/lang/ClassLoader;
aload 1
invokevirtual io.vertx.lang.ruby.ContainerHolder.create:(Ljava/lang/String;Lio/vertx/core/Vertx;Ljava/lang/ClassLoader;Lio/vertx/core/Future;)Lio/vertx/lang/ruby/Deployment;
putfield io.vertx.lang.ruby.JRubyVerticle.instance:Lio/vertx/lang/ruby/Deployment;
3: goto 5
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 0
getfield io.vertx.lang.ruby.JRubyVerticle.holder:Lio/vertx/lang/ruby/ContainerHolder;
aconst_null
aload 0
getfield io.vertx.lang.ruby.JRubyVerticle.vertx:Lio/vertx/core/Vertx;
aload 0
getfield io.vertx.lang.ruby.JRubyVerticle.classLoader:Ljava/lang/ClassLoader;
aload 1
invokevirtual io.vertx.lang.ruby.ContainerHolder.create:(Ljava/lang/String;Lio/vertx/core/Vertx;Ljava/lang/ClassLoader;Lio/vertx/core/Future;)Lio/vertx/lang/ruby/Deployment;
putfield io.vertx.lang.ruby.JRubyVerticle.instance:Lio/vertx/lang/ruby/Deployment;
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/lang/ruby/JRubyVerticle;
0 6 1 startFuture Lio/vertx/core/Future<Ljava/lang/Void;>;
1 6 2 gemPath Ljava/lang/String;
Exceptions:
throws java.lang.Exception
Signature: (Lio/vertx/core/Future<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
startFuture
public void stop(io.vertx.core.Future<java.lang.Void>);
descriptor: (Lio/vertx/core/Future;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.lang.ruby.JRubyVerticle.instance:Lio/vertx/lang/ruby/Deployment;
ifnull 3
1: aload 0
getfield io.vertx.lang.ruby.JRubyVerticle.holder:Lio/vertx/lang/ruby/ContainerHolder;
aload 0
getfield io.vertx.lang.ruby.JRubyVerticle.instance:Lio/vertx/lang/ruby/Deployment;
aload 1
invokevirtual io.vertx.lang.ruby.ContainerHolder.undeploy:(Lio/vertx/lang/ruby/Deployment;Lio/vertx/core/Future;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.vertx.core.Future.complete:()V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/lang/ruby/JRubyVerticle;
0 5 1 stopFuture Lio/vertx/core/Future<Ljava/lang/Void;>;
Exceptions:
throws java.lang.Exception
Signature: (Lio/vertx/core/Future<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
stopFuture
}
SourceFile: "JRubyVerticle.java"