public class io.vertx.core.impl.DeploymentManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.impl.DeploymentManager
super_class: java.lang.Object
{
private static final io.vertx.core.logging.Logger log;
descriptor: Lio/vertx/core/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final io.vertx.core.impl.VertxInternal vertx;
descriptor: Lio/vertx/core/impl/VertxInternal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, io.vertx.core.impl.Deployment> deployments;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lio/vertx/core/impl/Deployment;>;
private final java.util.Map<java.lang.String, io.vertx.core.impl.IsolatingClassLoader> classloaders;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lio/vertx/core/impl/IsolatingClassLoader;>;
private final java.util.Map<java.lang.String, java.util.List<io.vertx.core.spi.VerticleFactory>> verticleFactories;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Lio/vertx/core/spi/VerticleFactory;>;>;
private final java.util.List<io.vertx.core.spi.VerticleFactory> defaultFactories;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lio/vertx/core/spi/VerticleFactory;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/vertx/core/impl/DeploymentManager;
invokestatic io.vertx.core.logging.LoggerFactory.getLogger:(Ljava/lang/Class;)Lio/vertx/core/logging/Logger;
putstatic io.vertx.core.impl.DeploymentManager.log:Lio/vertx/core/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.vertx.core.impl.VertxInternal);
descriptor: (Lio/vertx/core/impl/VertxInternal;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield io.vertx.core.impl.DeploymentManager.deployments:Ljava/util/Map;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield io.vertx.core.impl.DeploymentManager.classloaders:Ljava/util/Map;
3: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield io.vertx.core.impl.DeploymentManager.verticleFactories:Ljava/util/Map;
4: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield io.vertx.core.impl.DeploymentManager.defaultFactories:Ljava/util/List;
5: aload 0
aload 1
putfield io.vertx.core.impl.DeploymentManager.vertx:Lio/vertx/core/impl/VertxInternal;
6: aload 0
invokevirtual io.vertx.core.impl.DeploymentManager.loadVerticleFactories:()V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/impl/DeploymentManager;
0 8 1 vertx Lio/vertx/core/impl/VertxInternal;
MethodParameters:
Name Flags
vertx
private void loadVerticleFactories();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=1
start local 0 0: ldc Lio/vertx/core/spi/VerticleFactory;
invokestatic io.vertx.core.ServiceHelper.loadFactories:(Ljava/lang/Class;)Ljava/util/Collection;
astore 1
start local 1 1: aload 1
aload 0
invokedynamic accept(Lio/vertx/core/impl/DeploymentManager;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/impl/DeploymentManager.registerVerticleFactory(Lio/vertx/core/spi/VerticleFactory;)V (5)
(Lio/vertx/core/spi/VerticleFactory;)V
invokeinterface java.util.Collection.forEach:(Ljava/util/function/Consumer;)V
2: new io.vertx.core.impl.JavaVerticleFactory
dup
invokespecial io.vertx.core.impl.JavaVerticleFactory.<init>:()V
astore 3
start local 3 3: aload 3
aload 0
getfield io.vertx.core.impl.DeploymentManager.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.spi.VerticleFactory.init:(Lio/vertx/core/Vertx;)V
4: aload 0
getfield io.vertx.core.impl.DeploymentManager.defaultFactories:Ljava/util/List;
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/impl/DeploymentManager;
1 6 1 factories Ljava/util/Collection<Lio/vertx/core/spi/VerticleFactory;>;
3 6 3 defaultFactory Lio/vertx/core/spi/VerticleFactory;
private java.lang.String generateDeploymentID();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic java.util.UUID.randomUUID:()Ljava/util/UUID;
invokevirtual java.util.UUID.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/impl/DeploymentManager;
public void deployVerticle(java.util.function.Supplier<io.vertx.core.Verticle>, io.vertx.core.DeploymentOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.String>>);
descriptor: (Ljava/util/function/Supplier;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual io.vertx.core.DeploymentOptions.getInstances:()I
iconst_1
if_icmpge 2
1: new java.lang.IllegalArgumentException
dup
ldc "Can't specify < 1 instances to deploy"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual io.vertx.core.DeploymentOptions.isMultiThreaded:()Z
ifeq 4
aload 2
invokevirtual io.vertx.core.DeploymentOptions.isWorker:()Z
ifne 4
3: new java.lang.IllegalArgumentException
dup
ldc "If multi-threaded then must be worker too"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual io.vertx.core.DeploymentOptions.getExtraClasspath:()Ljava/util/List;
ifnull 6
5: new java.lang.IllegalArgumentException
dup
ldc "Can't specify extraClasspath for already created verticle"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 2
invokevirtual io.vertx.core.DeploymentOptions.getIsolationGroup:()Ljava/lang/String;
ifnull 8
7: new java.lang.IllegalArgumentException
dup
ldc "Can't specify isolationGroup for already created verticle"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 2
invokevirtual io.vertx.core.DeploymentOptions.getIsolatedClasses:()Ljava/util/List;
ifnull 10
9: new java.lang.IllegalArgumentException
dup
ldc "Can't specify isolatedClasses for already created verticle"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.impl.DeploymentManager.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.getOrCreateContext:()Lio/vertx/core/impl/ContextInternal;
astore 4
start local 4 11: aload 0
aload 2
invokevirtual io.vertx.core.impl.DeploymentManager.getClassLoader:(Lio/vertx/core/DeploymentOptions;)Ljava/lang/ClassLoader;
astore 5
start local 5 12: aload 2
invokevirtual io.vertx.core.DeploymentOptions.getInstances:()I
istore 6
start local 6 13: new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
invokestatic java.util.Collections.newSetFromMap:(Ljava/util/Map;)Ljava/util/Set;
astore 7
start local 7 14: iconst_0
istore 8
start local 8 15: goto 28
16: StackMap locals: io.vertx.core.impl.DeploymentManager java.util.function.Supplier io.vertx.core.DeploymentOptions io.vertx.core.Handler io.vertx.core.impl.ContextInternal java.lang.ClassLoader int java.util.Set int
StackMap stack:
aload 1
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast io.vertx.core.Verticle
astore 9
start local 9 17: goto 22
end local 9 StackMap locals:
StackMap stack: java.lang.Exception
18: astore 10
start local 10 19: aload 3
ifnull 21
20: aload 3
aload 10
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
21: StackMap locals: io.vertx.core.impl.DeploymentManager java.util.function.Supplier io.vertx.core.DeploymentOptions io.vertx.core.Handler io.vertx.core.impl.ContextInternal java.lang.ClassLoader int java.util.Set int top java.lang.Exception
StackMap stack:
return
end local 10 start local 9 22: StackMap locals: io.vertx.core.impl.DeploymentManager java.util.function.Supplier io.vertx.core.DeploymentOptions io.vertx.core.Handler io.vertx.core.impl.ContextInternal java.lang.ClassLoader int java.util.Set int io.vertx.core.Verticle
StackMap stack:
aload 9
ifnonnull 26
23: aload 3
ifnull 25
24: aload 3
ldc "Supplied verticle is null"
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
25: StackMap locals:
StackMap stack:
return
26: StackMap locals:
StackMap stack:
aload 7
aload 9
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 9 27: iinc 8 1
StackMap locals:
StackMap stack:
28: iload 8
iload 6
if_icmplt 16
end local 8 29: aload 7
invokeinterface java.util.Set.size:()I
iload 6
if_icmpeq 33
30: aload 3
ifnull 32
31: aload 3
ldc "Same verticle supplied more than once"
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
32: StackMap locals:
StackMap stack:
return
33: StackMap locals:
StackMap stack:
aload 7
aload 7
invokeinterface java.util.Set.size:()I
anewarray io.vertx.core.Verticle
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast io.vertx.core.Verticle[]
astore 8
start local 8 34: aload 8
iconst_0
aaload
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 9
start local 9 35: aload 0
new java.lang.StringBuilder
dup
ldc "java:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
aload 4
aload 4
aload 3
aload 5
aload 8
invokevirtual io.vertx.core.impl.DeploymentManager.doDeploy:(Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Ljava/lang/ClassLoader;[Lio/vertx/core/Verticle;)V
36: return
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lio/vertx/core/impl/DeploymentManager;
0 37 1 verticleSupplier Ljava/util/function/Supplier<Lio/vertx/core/Verticle;>;
0 37 2 options Lio/vertx/core/DeploymentOptions;
0 37 3 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/String;>;>;
11 37 4 currentContext Lio/vertx/core/impl/ContextInternal;
12 37 5 cl Ljava/lang/ClassLoader;
13 37 6 nbInstances I
14 37 7 verticles Ljava/util/Set<Lio/vertx/core/Verticle;>;
15 29 8 i I
17 18 9 verticle Lio/vertx/core/Verticle;
22 27 9 verticle Lio/vertx/core/Verticle;
19 22 10 e Ljava/lang/Exception;
34 37 8 verticlesArray [Lio/vertx/core/Verticle;
35 37 9 verticleClass Ljava/lang/String;
Exception table:
from to target type
16 17 18 Class java.lang.Exception
Signature: (Ljava/util/function/Supplier<Lio/vertx/core/Verticle;>;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/String;>;>;)V
MethodParameters:
Name Flags
verticleSupplier
options
completionHandler
public void deployVerticle(java.lang.String, io.vertx.core.DeploymentOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.String>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual io.vertx.core.DeploymentOptions.isMultiThreaded:()Z
ifeq 2
aload 2
invokevirtual io.vertx.core.DeploymentOptions.isWorker:()Z
ifne 2
1: new java.lang.IllegalArgumentException
dup
ldc "If multi-threaded then must be worker too"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.impl.DeploymentManager.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.getOrCreateContext:()Lio/vertx/core/impl/ContextInternal;
astore 4
start local 4 3: aload 0
aload 2
invokevirtual io.vertx.core.impl.DeploymentManager.getClassLoader:(Lio/vertx/core/DeploymentOptions;)Ljava/lang/ClassLoader;
astore 5
start local 5 4: aload 0
aload 1
aload 2
aload 4
aload 4
aload 5
aload 3
invokevirtual io.vertx.core.impl.DeploymentManager.doDeployVerticle:(Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/impl/ContextInternal;Ljava/lang/ClassLoader;Lio/vertx/core/Handler;)V
5: return
end local 5 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/core/impl/DeploymentManager;
0 6 1 identifier Ljava/lang/String;
0 6 2 options Lio/vertx/core/DeploymentOptions;
0 6 3 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/String;>;>;
3 6 4 callingContext Lio/vertx/core/impl/ContextInternal;
4 6 5 cl Ljava/lang/ClassLoader;
Signature: (Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/String;>;>;)V
MethodParameters:
Name Flags
identifier
options
completionHandler
private void doDeployVerticle(java.lang.String, io.vertx.core.DeploymentOptions, io.vertx.core.impl.ContextInternal, io.vertx.core.impl.ContextInternal, java.lang.ClassLoader, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.String>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/impl/ContextInternal;Ljava/lang/ClassLoader;Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
invokevirtual io.vertx.core.impl.DeploymentManager.resolveFactories:(Ljava/lang/String;)Ljava/util/List;
astore 7
start local 7 1: aload 7
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
start local 8 2: aload 0
aload 8
aconst_null
aload 1
aload 2
aload 3
aload 4
aload 5
aload 6
invokevirtual io.vertx.core.impl.DeploymentManager.doDeployVerticle:(Ljava/util/Iterator;Ljava/lang/Throwable;Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/impl/ContextInternal;Ljava/lang/ClassLoader;Lio/vertx/core/Handler;)V
3: return
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/impl/DeploymentManager;
0 4 1 identifier Ljava/lang/String;
0 4 2 options Lio/vertx/core/DeploymentOptions;
0 4 3 parentContext Lio/vertx/core/impl/ContextInternal;
0 4 4 callingContext Lio/vertx/core/impl/ContextInternal;
0 4 5 cl Ljava/lang/ClassLoader;
0 4 6 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/String;>;>;
1 4 7 verticleFactories Ljava/util/List<Lio/vertx/core/spi/VerticleFactory;>;
2 4 8 iter Ljava/util/Iterator<Lio/vertx/core/spi/VerticleFactory;>;
Signature: (Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/impl/ContextInternal;Ljava/lang/ClassLoader;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/String;>;>;)V
MethodParameters:
Name Flags
identifier
options
parentContext
callingContext
cl
completionHandler
private void doDeployVerticle(java.util.Iterator<io.vertx.core.spi.VerticleFactory>, java.lang.Throwable, java.lang.String, io.vertx.core.DeploymentOptions, io.vertx.core.impl.ContextInternal, io.vertx.core.impl.ContextInternal, java.lang.ClassLoader, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.String>>);
descriptor: (Ljava/util/Iterator;Ljava/lang/Throwable;Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/impl/ContextInternal;Ljava/lang/ClassLoader;Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=12, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 14
1: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.spi.VerticleFactory
astore 9
start local 9 2: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 10
start local 10 3: aload 9
invokeinterface io.vertx.core.spi.VerticleFactory.requiresResolve:()Z
ifeq 11
4: aload 9
aload 3
aload 4
aload 7
aload 10
invokeinterface io.vertx.core.spi.VerticleFactory.resolve:(Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Ljava/lang/ClassLoader;Lio/vertx/core/Promise;)V
5: goto 12
StackMap locals: io.vertx.core.impl.DeploymentManager java.util.Iterator java.lang.Throwable java.lang.String io.vertx.core.DeploymentOptions io.vertx.core.impl.ContextInternal io.vertx.core.impl.ContextInternal java.lang.ClassLoader io.vertx.core.Handler io.vertx.core.spi.VerticleFactory io.vertx.core.Promise
StackMap stack: java.lang.Exception
6: astore 11
start local 11 7: aload 10
aload 11
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
8: goto 12
StackMap locals: io.vertx.core.impl.DeploymentManager java.util.Iterator java.lang.Throwable java.lang.String io.vertx.core.DeploymentOptions io.vertx.core.impl.ContextInternal io.vertx.core.impl.ContextInternal java.lang.ClassLoader io.vertx.core.Handler io.vertx.core.spi.VerticleFactory io.vertx.core.Promise java.lang.Exception
StackMap stack: java.lang.Exception
9: pop
end local 11 10: goto 12
11: StackMap locals:
StackMap stack:
aload 10
aload 3
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
12: StackMap locals:
StackMap stack:
aload 10
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
aload 0
aload 3
aload 4
aload 8
aload 9
aload 7
aload 5
aload 6
aload 1
invokedynamic handle(Lio/vertx/core/impl/DeploymentManager;Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/Handler;Lio/vertx/core/spi/VerticleFactory;Ljava/lang/ClassLoader;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/impl/ContextInternal;Ljava/util/Iterator;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/impl/DeploymentManager.lambda$1(Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/Handler;Lio/vertx/core/spi/VerticleFactory;Ljava/lang/ClassLoader;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/impl/ContextInternal;Ljava/util/Iterator;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
end local 10 end local 9 13: goto 16
14: StackMap locals:
StackMap stack:
aload 2
ifnull 16
15: aload 0
aload 2
aload 6
aload 8
invokevirtual io.vertx.core.impl.DeploymentManager.reportFailure:(Ljava/lang/Throwable;Lio/vertx/core/Context;Lio/vertx/core/Handler;)V
16: StackMap locals:
StackMap stack:
return
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/vertx/core/impl/DeploymentManager;
0 17 1 iter Ljava/util/Iterator<Lio/vertx/core/spi/VerticleFactory;>;
0 17 2 prevErr Ljava/lang/Throwable;
0 17 3 identifier Ljava/lang/String;
0 17 4 options Lio/vertx/core/DeploymentOptions;
0 17 5 parentContext Lio/vertx/core/impl/ContextInternal;
0 17 6 callingContext Lio/vertx/core/impl/ContextInternal;
0 17 7 cl Ljava/lang/ClassLoader;
0 17 8 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/String;>;>;
2 13 9 verticleFactory Lio/vertx/core/spi/VerticleFactory;
3 13 10 promise Lio/vertx/core/Promise<Ljava/lang/String;>;
7 10 11 e Ljava/lang/Exception;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
7 8 9 Class java.lang.Exception
Signature: (Ljava/util/Iterator<Lio/vertx/core/spi/VerticleFactory;>;Ljava/lang/Throwable;Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/impl/ContextInternal;Ljava/lang/ClassLoader;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/String;>;>;)V
MethodParameters:
Name Flags
iter
prevErr
identifier
options
parentContext
callingContext
cl
completionHandler
private io.vertx.core.Verticle[] createVerticles(io.vertx.core.spi.VerticleFactory, java.lang.String, int, java.lang.ClassLoader);
descriptor: (Lio/vertx/core/spi/VerticleFactory;Ljava/lang/String;ILjava/lang/ClassLoader;)[Lio/vertx/core/Verticle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 3
anewarray io.vertx.core.Verticle
astore 5
start local 5 1: iconst_0
istore 6
start local 6 2: goto 7
3: StackMap locals: io.vertx.core.Verticle[] int
StackMap stack:
aload 5
iload 6
aload 1
aload 2
aload 4
invokeinterface io.vertx.core.spi.VerticleFactory.createVerticle:(Ljava/lang/String;Ljava/lang/ClassLoader;)Lio/vertx/core/Verticle;
aastore
4: aload 5
iload 6
aaload
ifnonnull 6
5: new java.lang.NullPointerException
dup
ldc "VerticleFactory::createVerticle returned null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
7: iload 6
iload 3
if_icmplt 3
end local 6 8: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/core/impl/DeploymentManager;
0 9 1 verticleFactory Lio/vertx/core/spi/VerticleFactory;
0 9 2 identifier Ljava/lang/String;
0 9 3 instances I
0 9 4 cl Ljava/lang/ClassLoader;
1 9 5 verticles [Lio/vertx/core/Verticle;
2 8 6 i I
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
verticleFactory
identifier
instances
cl
private java.lang.String getSuffix(int, java.lang.String);
descriptor: (ILjava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iconst_1
iadd
aload 2
invokevirtual java.lang.String.length:()I
if_icmplt 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/impl/DeploymentManager;
0 3 1 pos I
0 3 2 str Ljava/lang/String;
MethodParameters:
Name Flags
pos
str
public void undeployVerticle(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.impl.DeploymentManager.deployments:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.core.impl.Deployment
astore 3
start local 3 1: aload 0
getfield io.vertx.core.impl.DeploymentManager.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.getOrCreateContext:()Lio/vertx/core/impl/ContextInternal;
astore 4
start local 4 2: aload 3
ifnonnull 5
3: aload 0
new java.lang.IllegalStateException
dup
ldc "Unknown deployment"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
aload 4
aload 2
invokevirtual io.vertx.core.impl.DeploymentManager.reportFailure:(Ljava/lang/Throwable;Lio/vertx/core/Context;Lio/vertx/core/Handler;)V
4: goto 6
5: StackMap locals: io.vertx.core.impl.Deployment io.vertx.core.Context
StackMap stack:
aload 3
aload 2
invokeinterface io.vertx.core.impl.Deployment.undeploy:(Lio/vertx/core/Handler;)V
6: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/impl/DeploymentManager;
0 7 1 deploymentID Ljava/lang/String;
0 7 2 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
1 7 3 deployment Lio/vertx/core/impl/Deployment;
2 7 4 currentContext Lio/vertx/core/Context;
Signature: (Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
deploymentID
completionHandler
public java.util.Set<java.lang.String> deployments();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.impl.DeploymentManager.deployments:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/impl/DeploymentManager;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public io.vertx.core.impl.Deployment getDeployment(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/impl/Deployment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.impl.DeploymentManager.deployments:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.core.impl.Deployment
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/impl/DeploymentManager;
0 1 1 deploymentID Ljava/lang/String;
MethodParameters:
Name Flags
deploymentID
public void undeployAll(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 1: aload 0
getfield io.vertx.core.impl.DeploymentManager.deployments:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: io.vertx.core.impl.DeploymentManager io.vertx.core.Handler java.util.Set top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 3: aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast io.vertx.core.impl.Deployment
invokeinterface io.vertx.core.impl.Deployment.isChild:()Z
ifne 5
4: aload 2
aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 2
invokeinterface java.util.Set.isEmpty:()Z
ifne 13
7: new java.util.concurrent.atomic.AtomicInteger
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
astore 3
start local 3 8: aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 11
StackMap locals: io.vertx.core.impl.DeploymentManager io.vertx.core.Handler java.util.Set java.util.concurrent.atomic.AtomicInteger top java.util.Iterator
StackMap stack:
9: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 10: aload 0
aload 4
aload 3
aload 2
aload 1
invokedynamic handle(Ljava/util/concurrent/atomic/AtomicInteger;Ljava/util/Set;Lio/vertx/core/Handler;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/impl/DeploymentManager.lambda$4(Ljava/util/concurrent/atomic/AtomicInteger;Ljava/util/Set;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.core.impl.DeploymentManager.undeployVerticle:(Ljava/lang/String;Lio/vertx/core/Handler;)V
end local 4 11: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
end local 3 12: goto 15
13: StackMap locals: io.vertx.core.impl.DeploymentManager io.vertx.core.Handler java.util.Set
StackMap stack:
aload 0
getfield io.vertx.core.impl.DeploymentManager.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.getOrCreateContext:()Lio/vertx/core/impl/ContextInternal;
astore 3
start local 3 14: aload 3
aload 1
invokedynamic handle(Lio/vertx/core/Handler;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/impl/DeploymentManager.lambda$5(Lio/vertx/core/Handler;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.Context.runOnContext:(Lio/vertx/core/Handler;)V
end local 3 15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/vertx/core/impl/DeploymentManager;
0 16 1 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
1 16 2 deploymentIDs Ljava/util/Set<Ljava/lang/String;>;
3 5 3 entry Ljava/util/Map$Entry<Ljava/lang/String;Lio/vertx/core/impl/Deployment;>;
8 12 3 count Ljava/util/concurrent/atomic/AtomicInteger;
10 11 4 deploymentID Ljava/lang/String;
14 15 3 context Lio/vertx/core/Context;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
completionHandler
public void registerVerticleFactory(io.vertx.core.spi.VerticleFactory);
descriptor: (Lio/vertx/core/spi/VerticleFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.spi.VerticleFactory.prefix:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "factory.prefix() cannot be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield io.vertx.core.impl.DeploymentManager.verticleFactories:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 4: aload 3
ifnonnull 7
5: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
6: aload 0
getfield io.vertx.core.impl.DeploymentManager.verticleFactories:Ljava/util/Map;
aload 2
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals: java.util.List
StackMap stack:
aload 3
aload 1
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 9
8: new java.lang.IllegalArgumentException
dup
ldc "Factory already registered"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 3
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: aload 3
invokedynamic compare()Ljava/util/Comparator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)I
io/vertx/core/impl/DeploymentManager.lambda$6(Lio/vertx/core/spi/VerticleFactory;Lio/vertx/core/spi/VerticleFactory;)I (6)
(Lio/vertx/core/spi/VerticleFactory;Lio/vertx/core/spi/VerticleFactory;)I
invokeinterface java.util.List.sort:(Ljava/util/Comparator;)V
11: aload 1
aload 0
getfield io.vertx.core.impl.DeploymentManager.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.spi.VerticleFactory.init:(Lio/vertx/core/Vertx;)V
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/core/impl/DeploymentManager;
0 13 1 factory Lio/vertx/core/spi/VerticleFactory;
1 13 2 prefix Ljava/lang/String;
4 13 3 facts Ljava/util/List<Lio/vertx/core/spi/VerticleFactory;>;
MethodParameters:
Name Flags
factory
public void unregisterVerticleFactory(io.vertx.core.spi.VerticleFactory);
descriptor: (Lio/vertx/core/spi/VerticleFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.spi.VerticleFactory.prefix:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "factory.prefix() cannot be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield io.vertx.core.impl.DeploymentManager.verticleFactories:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 4: iconst_0
istore 4
start local 4 5: aload 3
ifnull 10
6: aload 3
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
ifeq 8
7: iconst_1
istore 4
8: StackMap locals: java.util.List int
StackMap stack:
aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 10
9: aload 0
getfield io.vertx.core.impl.DeploymentManager.verticleFactories:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
10: StackMap locals:
StackMap stack:
iload 4
ifne 12
11: new java.lang.IllegalArgumentException
dup
ldc "factory isn't registered"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/core/impl/DeploymentManager;
0 13 1 factory Lio/vertx/core/spi/VerticleFactory;
1 13 2 prefix Ljava/lang/String;
4 13 3 facts Ljava/util/List<Lio/vertx/core/spi/VerticleFactory;>;
5 13 4 removed Z
MethodParameters:
Name Flags
factory
public java.util.Set<io.vertx.core.spi.VerticleFactory> verticleFactories();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: aload 0
getfield io.vertx.core.impl.DeploymentManager.verticleFactories:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: io.vertx.core.impl.DeploymentManager java.util.Set top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 3: aload 1
aload 2
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/impl/DeploymentManager;
1 6 1 facts Ljava/util/Set<Lio/vertx/core/spi/VerticleFactory;>;
3 4 2 list Ljava/util/List<Lio/vertx/core/spi/VerticleFactory;>;
Signature: ()Ljava/util/Set<Lio/vertx/core/spi/VerticleFactory;>;
private java.util.List<io.vertx.core.spi.VerticleFactory> resolveFactories(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 3
start local 3 2: aconst_null
astore 4
start local 4 3: iload 3
iconst_m1
if_icmpeq 6
4: aload 1
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
5: goto 11
6: StackMap locals: java.util.List int java.lang.String
StackMap stack:
aload 1
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 3
7: iload 3
iconst_m1
if_icmpeq 10
8: aload 0
iload 3
aload 1
invokevirtual io.vertx.core.impl.DeploymentManager.getSuffix:(ILjava/lang/String;)Ljava/lang/String;
astore 4
9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.impl.DeploymentManager.defaultFactories:Ljava/util/List;
astore 2
11: StackMap locals:
StackMap stack:
aload 2
ifnonnull 15
12: aload 0
getfield io.vertx.core.impl.DeploymentManager.verticleFactories:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 2
13: aload 2
ifnonnull 15
14: aload 0
getfield io.vertx.core.impl.DeploymentManager.defaultFactories:Ljava/util/List;
astore 2
15: StackMap locals:
StackMap stack:
aload 2
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 this Lio/vertx/core/impl/DeploymentManager;
0 16 1 identifier Ljava/lang/String;
1 16 2 factoryList Ljava/util/List<Lio/vertx/core/spi/VerticleFactory;>;
2 16 3 pos I
3 16 4 lookup Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/List<Lio/vertx/core/spi/VerticleFactory;>;
MethodParameters:
Name Flags
identifier
private static java.net.URL mapToURL(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URL;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.net.URL
dup
aload 0
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
1: areturn
2: StackMap locals:
StackMap stack: java.net.MalformedURLException
pop
3: new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
4: areturn
5: StackMap locals:
StackMap stack: java.net.MalformedURLException
astore 1
start local 1 6: new java.lang.IllegalArgumentException
dup
aload 1
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 path Ljava/lang/String;
6 7 1 e1 Ljava/net/MalformedURLException;
Exception table:
from to target type
0 1 2 Class java.net.MalformedURLException
3 4 5 Class java.net.MalformedURLException
MethodParameters:
Name Flags
path
private static java.util.List<java.net.URL> extractCPFromProperty();
descriptor: ()Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=0
0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 0
start local 0 1: ldc "java.class.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 2: aload 1
invokestatic java.util.Objects.nonNull:(Ljava/lang/Object;)Z
ifeq 8
3: aload 1
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 7
StackMap locals: java.util.List java.lang.String top int int java.lang.String[]
StackMap stack:
4: aload 5
iload 3
aaload
astore 2
start local 2 5: aload 0
aload 2
invokestatic io.vertx.core.impl.DeploymentManager.mapToURL:(Ljava/lang/String;)Ljava/net/URL;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 4
if_icmplt 4
8: StackMap locals: java.util.List java.lang.String
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 9 0 classpathURLs Ljava/util/List<Ljava/net/URL;>;
2 9 1 classpath Ljava/lang/String;
5 6 2 path Ljava/lang/String;
Signature: ()Ljava/util/List<Ljava/net/URL;>;
static java.util.List<java.net.URL> extractCPByManifest(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)Ljava/util/List;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=9, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: ldc "META-INF/MANIFEST.MF"
astore 2
start local 2 2: aload 0
aload 2
invokevirtual java.lang.ClassLoader.getResources:(Ljava/lang/String;)Ljava/util/Enumeration;
astore 3
start local 3 3: goto 6
end local 3 StackMap locals: java.lang.ClassLoader java.util.List java.lang.String
StackMap stack: java.io.IOException
4: astore 4
start local 4 5: new java.lang.IllegalStateException
dup
aload 4
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 start local 3 6: StackMap locals: java.util.Enumeration
StackMap stack:
aload 3
invokestatic java.util.Collections.list:(Ljava/util/Enumeration;)Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 5
goto 18
StackMap locals: java.lang.ClassLoader java.util.List java.lang.String java.util.Enumeration top java.util.Iterator
StackMap stack:
7: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.net.URL
astore 4
start local 4 8: aload 4
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
astore 6
start local 6 9: ldc "jar"
aload 4
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
10: ldc "jar:"
astore 7
start local 7 11: new java.lang.StringBuilder
dup
ldc "!/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 8
start local 8 12: aload 6
aload 7
ldc ""
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
aload 8
ldc ""
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 6
end local 8 end local 7 13: StackMap locals: java.lang.ClassLoader java.util.List java.lang.String java.util.Enumeration java.net.URL java.util.Iterator java.lang.String
StackMap stack:
aload 6
aload 2
ldc ""
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 6
14: aload 1
new java.net.URL
dup
aload 6
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
15: goto 18
StackMap locals:
StackMap stack: java.net.MalformedURLException
16: astore 7
start local 7 17: new java.lang.IllegalStateException
dup
aload 7
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 7 end local 6 end local 4 18: StackMap locals: java.lang.ClassLoader java.util.List java.lang.String java.util.Enumeration top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
19: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 current Ljava/lang/ClassLoader;
1 20 1 classpathURLs Ljava/util/List<Ljava/net/URL;>;
2 20 2 searchFile Ljava/lang/String;
3 4 3 urls Ljava/util/Enumeration<Ljava/net/URL;>;
6 20 3 urls Ljava/util/Enumeration<Ljava/net/URL;>;
5 6 4 e Ljava/io/IOException;
8 18 4 url Ljava/net/URL;
9 18 6 urlString Ljava/lang/String;
11 13 7 prefix Ljava/lang/String;
12 13 8 suffix Ljava/lang/String;
17 18 7 e Ljava/net/MalformedURLException;
Exception table:
from to target type
2 3 4 Class java.io.IOException
14 15 16 Class java.net.MalformedURLException
Signature: (Ljava/lang/ClassLoader;)Ljava/util/List<Ljava/net/URL;>;
MethodParameters:
Name Flags
current
static java.util.List<java.net.URL> extractClasspath(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)Ljava/util/List;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
instanceof java.net.URLClassLoader
ifeq 3
1: aload 0
checkcast java.net.URLClassLoader
astore 1
start local 1 2: aload 1
invokevirtual java.net.URLClassLoader.getURLs:()[Ljava/net/URL;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 1 3: StackMap locals:
StackMap stack:
invokestatic io.vertx.core.impl.DeploymentManager.extractCPFromProperty:()Ljava/util/List;
astore 1
start local 1 4: aload 0
invokestatic io.vertx.core.impl.DeploymentManager.extractCPByManifest:(Ljava/lang/ClassLoader;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: java.lang.ClassLoader java.util.List top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.net.URL
astore 2
start local 2 6: aload 1
aload 2
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 8
7: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 current Ljava/lang/ClassLoader;
2 3 1 urlc Ljava/net/URLClassLoader;
4 10 1 classpathURLs Ljava/util/List<Ljava/net/URL;>;
6 8 2 url Ljava/net/URL;
Signature: (Ljava/lang/ClassLoader;)Ljava/util/List<Ljava/net/URL;>;
MethodParameters:
Name Flags
current
private java.lang.ClassLoader getClassLoader(io.vertx.core.DeploymentOptions);
descriptor: (Lio/vertx/core/DeploymentOptions;)Ljava/lang/ClassLoader;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=11, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual io.vertx.core.DeploymentOptions.getIsolationGroup:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aload 0
invokevirtual io.vertx.core.impl.DeploymentManager.getCurrentClassLoader:()Ljava/lang/ClassLoader;
astore 3
start local 3 3: goto 27
end local 3 4: StackMap locals: java.lang.String
StackMap stack:
aload 0
dup
astore 4
monitorenter
5: aload 0
getfield io.vertx.core.impl.DeploymentManager.classloaders:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.core.impl.IsolatingClassLoader
astore 5
start local 5 6: aload 5
ifnonnull 21
7: aload 0
invokevirtual io.vertx.core.impl.DeploymentManager.getCurrentClassLoader:()Ljava/lang/ClassLoader;
astore 6
start local 6 8: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
start local 7 9: aload 1
invokevirtual io.vertx.core.DeploymentOptions.getExtraClasspath:()Ljava/util/List;
astore 8
start local 8 10: aload 8
ifnull 15
11: aload 8
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 14
StackMap locals: io.vertx.core.impl.DeploymentManager io.vertx.core.DeploymentOptions java.lang.String top io.vertx.core.impl.DeploymentManager io.vertx.core.impl.IsolatingClassLoader java.lang.ClassLoader java.util.List java.util.List top java.util.Iterator
StackMap stack:
12: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 13: aload 7
aload 9
invokestatic io.vertx.core.impl.DeploymentManager.mapToURL:(Ljava/lang/String;)Ljava/net/URL;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 14: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
15: StackMap locals: io.vertx.core.impl.DeploymentManager io.vertx.core.DeploymentOptions java.lang.String top io.vertx.core.impl.DeploymentManager io.vertx.core.impl.IsolatingClassLoader java.lang.ClassLoader java.util.List java.util.List
StackMap stack:
aload 7
aload 6
invokestatic io.vertx.core.impl.DeploymentManager.extractClasspath:(Ljava/lang/ClassLoader;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
16: new io.vertx.core.impl.IsolatingClassLoader
dup
aload 7
aload 7
invokeinterface java.util.List.size:()I
anewarray java.net.URL
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.net.URL[]
aload 0
invokevirtual io.vertx.core.impl.DeploymentManager.getCurrentClassLoader:()Ljava/lang/ClassLoader;
17: aload 1
invokevirtual io.vertx.core.DeploymentOptions.getIsolatedClasses:()Ljava/util/List;
18: invokespecial io.vertx.core.impl.IsolatingClassLoader.<init>:([Ljava/net/URL;Ljava/lang/ClassLoader;Ljava/util/List;)V
astore 5
19: aload 0
getfield io.vertx.core.impl.DeploymentManager.classloaders:Ljava/util/Map;
aload 2
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 8 end local 7 end local 6 20: goto 22
21: StackMap locals:
StackMap stack:
aload 5
dup
getfield io.vertx.core.impl.IsolatingClassLoader.refCount:I
iconst_1
iadd
putfield io.vertx.core.impl.IsolatingClassLoader.refCount:I
22: StackMap locals:
StackMap stack:
aload 5
astore 3
end local 5 start local 3 23: aload 4
monitorexit
24: goto 27
end local 3 StackMap locals: io.vertx.core.impl.DeploymentManager io.vertx.core.DeploymentOptions java.lang.String top io.vertx.core.impl.DeploymentManager
StackMap stack: java.lang.Throwable
25: aload 4
monitorexit
26: athrow
start local 3 27: StackMap locals: io.vertx.core.impl.DeploymentManager io.vertx.core.DeploymentOptions java.lang.String java.lang.ClassLoader
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lio/vertx/core/impl/DeploymentManager;
0 28 1 options Lio/vertx/core/DeploymentOptions;
1 28 2 isolationGroup Ljava/lang/String;
3 4 3 cl Ljava/lang/ClassLoader;
23 25 3 cl Ljava/lang/ClassLoader;
27 28 3 cl Ljava/lang/ClassLoader;
6 23 5 icl Lio/vertx/core/impl/IsolatingClassLoader;
8 20 6 current Ljava/lang/ClassLoader;
9 20 7 urls Ljava/util/List<Ljava/net/URL;>;
10 20 8 extraClasspath Ljava/util/List<Ljava/lang/String;>;
13 14 9 pathElement Ljava/lang/String;
Exception table:
from to target type
5 24 25 any
25 26 25 any
MethodParameters:
Name Flags
options
private java.lang.ClassLoader getCurrentClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=1
start local 0 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 1
3: StackMap locals: java.lang.ClassLoader
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/impl/DeploymentManager;
1 4 1 cl Ljava/lang/ClassLoader;
private <T> void reportFailure(java.lang.Throwable, io.vertx.core.Context, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>);
descriptor: (Ljava/lang/Throwable;Lio/vertx/core/Context;Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnull 3
1: aload 0
aload 2
aload 3
aload 1
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokevirtual io.vertx.core.impl.DeploymentManager.reportResult:(Lio/vertx/core/Context;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
2: goto 4
3: StackMap locals:
StackMap stack:
getstatic io.vertx.core.impl.DeploymentManager.log:Lio/vertx/core/logging/Logger;
aload 1
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
aload 1
invokevirtual io.vertx.core.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/impl/DeploymentManager;
0 5 1 t Ljava/lang/Throwable;
0 5 2 context Lio/vertx/core/Context;
0 5 3 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Throwable;Lio/vertx/core/Context;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;)V
MethodParameters:
Name Flags
t
context
completionHandler
private <T> void reportSuccess(T, io.vertx.core.Context, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>);
descriptor: (Ljava/lang/Object;Lio/vertx/core/Context;Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnull 2
1: aload 0
aload 2
aload 3
aload 1
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokevirtual io.vertx.core.impl.DeploymentManager.reportResult:(Lio/vertx/core/Context;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
2: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/impl/DeploymentManager;
0 3 1 result TT;
0 3 2 context Lio/vertx/core/Context;
0 3 3 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;
Signature: <T:Ljava/lang/Object;>(TT;Lio/vertx/core/Context;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;)V
MethodParameters:
Name Flags
result
context
completionHandler
private <T> void reportResult(io.vertx.core.Context, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>, io.vertx.core.AsyncResult<T>);
descriptor: (Lio/vertx/core/Context;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
aload 3
invokedynamic handle(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/impl/DeploymentManager.lambda$7(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.Context.runOnContext:(Lio/vertx/core/Handler;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/impl/DeploymentManager;
0 2 1 context Lio/vertx/core/Context;
0 2 2 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;
0 2 3 result Lio/vertx/core/AsyncResult<TT;>;
Signature: <T:Ljava/lang/Object;>(Lio/vertx/core/Context;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;Lio/vertx/core/AsyncResult<TT;>;)V
MethodParameters:
Name Flags
context
completionHandler
result
private void doDeploy(java.lang.String, io.vertx.core.DeploymentOptions, io.vertx.core.impl.ContextInternal, io.vertx.core.impl.ContextInternal, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.String>>, java.lang.ClassLoader, io.vertx.core.Verticle[]);
descriptor: (Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Ljava/lang/ClassLoader;[Lio/vertx/core/Verticle;)V
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=12, locals=22, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 2
invokevirtual io.vertx.core.DeploymentOptions.getConfig:()Lio/vertx/core/json/JsonObject;
ifnonnull 1
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
goto 2
StackMap locals:
StackMap stack:
1: aload 2
invokevirtual io.vertx.core.DeploymentOptions.getConfig:()Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.core.json.JsonObject.copy:()Lio/vertx/core/json/JsonObject;
StackMap locals:
StackMap stack: io.vertx.core.json.JsonObject
2: astore 8
start local 8 3: aload 2
invokevirtual io.vertx.core.DeploymentOptions.getWorkerPoolName:()Ljava/lang/String;
astore 9
start local 9 4: aload 3
invokeinterface io.vertx.core.impl.ContextInternal.getDeployment:()Lio/vertx/core/impl/Deployment;
astore 10
start local 10 5: aload 0
invokevirtual io.vertx.core.impl.DeploymentManager.generateDeploymentID:()Ljava/lang/String;
astore 11
start local 11 6: new io.vertx.core.impl.DeploymentManager$DeploymentImpl
dup
aload 0
aload 10
aload 11
aload 1
aload 2
invokespecial io.vertx.core.impl.DeploymentManager$DeploymentImpl.<init>:(Lio/vertx/core/impl/DeploymentManager;Lio/vertx/core/impl/Deployment;Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/DeploymentOptions;)V
astore 12
start local 12 7: new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
astore 13
start local 13 8: new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
astore 14
start local 14 9: aload 7
dup
astore 18
arraylength
istore 17
iconst_0
istore 16
goto 26
StackMap locals: io.vertx.core.impl.DeploymentManager java.lang.String io.vertx.core.DeploymentOptions io.vertx.core.impl.ContextInternal io.vertx.core.impl.ContextInternal io.vertx.core.Handler java.lang.ClassLoader io.vertx.core.Verticle[] io.vertx.core.json.JsonObject java.lang.String io.vertx.core.impl.Deployment java.lang.String io.vertx.core.impl.DeploymentManager$DeploymentImpl java.util.concurrent.atomic.AtomicInteger java.util.concurrent.atomic.AtomicBoolean top int int io.vertx.core.Verticle[]
StackMap stack:
10: aload 18
iload 16
aaload
astore 15
start local 15 11: aload 9
ifnull 12
aload 0
getfield io.vertx.core.impl.DeploymentManager.vertx:Lio/vertx/core/impl/VertxInternal;
aload 9
aload 2
invokevirtual io.vertx.core.DeploymentOptions.getWorkerPoolSize:()I
aload 2
invokevirtual io.vertx.core.DeploymentOptions.getMaxWorkerExecuteTime:()J
aload 2
invokevirtual io.vertx.core.DeploymentOptions.getMaxWorkerExecuteTimeUnit:()Ljava/util/concurrent/TimeUnit;
invokeinterface io.vertx.core.impl.VertxInternal.createSharedWorkerExecutor:(Ljava/lang/String;IJLjava/util/concurrent/TimeUnit;)Lio/vertx/core/impl/WorkerExecutorInternal;
goto 13
StackMap locals: io.vertx.core.impl.DeploymentManager java.lang.String io.vertx.core.DeploymentOptions io.vertx.core.impl.ContextInternal io.vertx.core.impl.ContextInternal io.vertx.core.Handler java.lang.ClassLoader io.vertx.core.Verticle[] io.vertx.core.json.JsonObject java.lang.String io.vertx.core.impl.Deployment java.lang.String io.vertx.core.impl.DeploymentManager$DeploymentImpl java.util.concurrent.atomic.AtomicInteger java.util.concurrent.atomic.AtomicBoolean io.vertx.core.Verticle int int io.vertx.core.Verticle[]
StackMap stack:
12: aconst_null
StackMap locals:
StackMap stack: io.vertx.core.impl.WorkerExecutorInternal
13: astore 19
start local 19 14: aload 19
ifnull 15
aload 19
invokeinterface io.vertx.core.impl.WorkerExecutorInternal.getPool:()Lio/vertx/core/impl/WorkerPool;
goto 16
StackMap locals: io.vertx.core.impl.WorkerExecutorInternal
StackMap stack:
15: aconst_null
StackMap locals:
StackMap stack: io.vertx.core.impl.WorkerPool
16: astore 20
start local 20 17: aload 2
invokevirtual io.vertx.core.DeploymentOptions.isWorker:()Z
ifeq 18
aload 0
getfield io.vertx.core.impl.DeploymentManager.vertx:Lio/vertx/core/impl/VertxInternal;
aload 2
invokevirtual io.vertx.core.DeploymentOptions.isMultiThreaded:()Z
aload 11
aload 20
aload 8
aload 6
invokeinterface io.vertx.core.impl.VertxInternal.createWorkerContext:(ZLjava/lang/String;Lio/vertx/core/impl/WorkerPool;Lio/vertx/core/json/JsonObject;Ljava/lang/ClassLoader;)Lio/vertx/core/impl/ContextInternal;
goto 19
18: StackMap locals: io.vertx.core.impl.WorkerPool
StackMap stack:
aload 0
getfield io.vertx.core.impl.DeploymentManager.vertx:Lio/vertx/core/impl/VertxInternal;
aload 11
aload 20
aload 8
aload 6
invokeinterface io.vertx.core.impl.VertxInternal.createEventLoopContext:(Ljava/lang/String;Lio/vertx/core/impl/WorkerPool;Lio/vertx/core/json/JsonObject;Ljava/lang/ClassLoader;)Lio/vertx/core/impl/ContextInternal;
19: StackMap locals:
StackMap stack: io.vertx.core.impl.ContextInternal
checkcast io.vertx.core.impl.ContextImpl
astore 21
start local 21 20: aload 19
ifnull 22
21: aload 21
aload 19
invokevirtual io.vertx.core.impl.ContextImpl.addCloseHook:(Lio/vertx/core/Closeable;)V
22: StackMap locals: io.vertx.core.impl.ContextImpl
StackMap stack:
aload 21
aload 12
invokevirtual io.vertx.core.impl.ContextImpl.setDeployment:(Lio/vertx/core/impl/Deployment;)V
23: aload 12
new io.vertx.core.impl.DeploymentManager$VerticleHolder
dup
aload 15
aload 21
invokespecial io.vertx.core.impl.DeploymentManager$VerticleHolder.<init>:(Lio/vertx/core/Verticle;Lio/vertx/core/impl/ContextImpl;)V
invokevirtual io.vertx.core.impl.DeploymentManager$DeploymentImpl.addVerticle:(Lio/vertx/core/impl/DeploymentManager$VerticleHolder;)V
24: aload 21
aload 0
aload 15
aload 21
aload 10
aload 12
aload 11
aload 13
aload 7
aload 4
aload 5
aload 14
invokedynamic handle(Lio/vertx/core/impl/DeploymentManager;Lio/vertx/core/Verticle;Lio/vertx/core/impl/ContextImpl;Lio/vertx/core/impl/Deployment;Lio/vertx/core/impl/DeploymentManager$DeploymentImpl;Ljava/lang/String;Ljava/util/concurrent/atomic/AtomicInteger;[Lio/vertx/core/Verticle;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Ljava/util/concurrent/atomic/AtomicBoolean;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/impl/DeploymentManager.lambda$8(Lio/vertx/core/Verticle;Lio/vertx/core/impl/ContextImpl;Lio/vertx/core/impl/Deployment;Lio/vertx/core/impl/DeploymentManager$DeploymentImpl;Ljava/lang/String;Ljava/util/concurrent/atomic/AtomicInteger;[Lio/vertx/core/Verticle;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Ljava/util/concurrent/atomic/AtomicBoolean;Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokevirtual io.vertx.core.impl.ContextImpl.runOnContext:(Lio/vertx/core/Handler;)V
end local 21 end local 20 end local 19 end local 15 25: iinc 16 1
StackMap locals: io.vertx.core.impl.DeploymentManager java.lang.String io.vertx.core.DeploymentOptions io.vertx.core.impl.ContextInternal io.vertx.core.impl.ContextInternal io.vertx.core.Handler java.lang.ClassLoader io.vertx.core.Verticle[] io.vertx.core.json.JsonObject java.lang.String io.vertx.core.impl.Deployment java.lang.String io.vertx.core.impl.DeploymentManager$DeploymentImpl java.util.concurrent.atomic.AtomicInteger java.util.concurrent.atomic.AtomicBoolean top int int io.vertx.core.Verticle[]
StackMap stack:
26: iload 16
iload 17
if_icmplt 10
27: return
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lio/vertx/core/impl/DeploymentManager;
0 28 1 identifier Ljava/lang/String;
0 28 2 options Lio/vertx/core/DeploymentOptions;
0 28 3 parentContext Lio/vertx/core/impl/ContextInternal;
0 28 4 callingContext Lio/vertx/core/impl/ContextInternal;
0 28 5 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/String;>;>;
0 28 6 tccl Ljava/lang/ClassLoader;
0 28 7 verticles [Lio/vertx/core/Verticle;
3 28 8 conf Lio/vertx/core/json/JsonObject;
4 28 9 poolName Ljava/lang/String;
5 28 10 parent Lio/vertx/core/impl/Deployment;
6 28 11 deploymentID Ljava/lang/String;
7 28 12 deployment Lio/vertx/core/impl/DeploymentManager$DeploymentImpl;
8 28 13 deployCount Ljava/util/concurrent/atomic/AtomicInteger;
9 28 14 failureReported Ljava/util/concurrent/atomic/AtomicBoolean;
11 25 15 verticle Lio/vertx/core/Verticle;
14 25 19 workerExec Lio/vertx/core/impl/WorkerExecutorInternal;
17 25 20 pool Lio/vertx/core/impl/WorkerPool;
20 25 21 context Lio/vertx/core/impl/ContextImpl;
Signature: (Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/String;>;>;Ljava/lang/ClassLoader;[Lio/vertx/core/Verticle;)V
MethodParameters:
Name Flags
identifier
options
parentContext
callingContext
completionHandler
tccl
verticles
private void lambda$1(java.lang.String, io.vertx.core.DeploymentOptions, io.vertx.core.Handler, io.vertx.core.spi.VerticleFactory, java.lang.ClassLoader, io.vertx.core.impl.ContextInternal, io.vertx.core.impl.ContextInternal, java.util.Iterator, io.vertx.core.AsyncResult);
descriptor: (Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/Handler;Lio/vertx/core/spi/VerticleFactory;Ljava/lang/ClassLoader;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/impl/ContextInternal;Ljava/util/Iterator;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=10, locals=13, args_size=10
start local 0 start local 9 0: aload 9
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 20
1: aload 9
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast java.lang.String
astore 11
start local 11 2: aload 11
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
3: aload 0
aload 11
aload 2
aload 3
invokevirtual io.vertx.core.impl.DeploymentManager.deployVerticle:(Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/Handler;)V
4: goto 8
StackMap locals: io.vertx.core.impl.DeploymentManager java.lang.String io.vertx.core.DeploymentOptions io.vertx.core.Handler io.vertx.core.spi.VerticleFactory java.lang.ClassLoader io.vertx.core.impl.ContextInternal io.vertx.core.impl.ContextInternal java.util.Iterator io.vertx.core.AsyncResult top java.lang.String
StackMap stack: java.lang.Exception
5: astore 12
start local 12 6: aload 3
ifnull 8
7: aload 3
aload 12
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 12 8: StackMap locals:
StackMap stack:
return
9: StackMap locals:
StackMap stack:
aload 4
invokeinterface io.vertx.core.spi.VerticleFactory.blockingCreate:()Z
ifeq 14
10: aload 0
getfield io.vertx.core.impl.DeploymentManager.vertx:Lio/vertx/core/impl/VertxInternal;
aload 0
aload 4
aload 1
aload 2
aload 5
invokedynamic handle(Lio/vertx/core/impl/DeploymentManager;Lio/vertx/core/spi/VerticleFactory;Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Ljava/lang/ClassLoader;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/impl/DeploymentManager.lambda$2(Lio/vertx/core/spi/VerticleFactory;Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Ljava/lang/ClassLoader;Lio/vertx/core/Promise;)V (7)
(Lio/vertx/core/Promise;)V
11: aload 0
aload 1
aload 2
aload 6
aload 7
aload 3
aload 5
aload 8
invokedynamic handle(Lio/vertx/core/impl/DeploymentManager;Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Ljava/lang/ClassLoader;Ljava/util/Iterator;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/impl/DeploymentManager.lambda$3(Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Ljava/lang/ClassLoader;Ljava/util/Iterator;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
12: invokeinterface io.vertx.core.impl.VertxInternal.executeBlocking:(Lio/vertx/core/Handler;Lio/vertx/core/Handler;)V
13: return
14: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 1
aload 2
invokevirtual io.vertx.core.DeploymentOptions.getInstances:()I
aload 5
invokevirtual io.vertx.core.impl.DeploymentManager.createVerticles:(Lio/vertx/core/spi/VerticleFactory;Ljava/lang/String;ILjava/lang/ClassLoader;)[Lio/vertx/core/Verticle;
astore 12
start local 12 15: aload 0
aload 1
aload 2
aload 6
aload 7
aload 3
aload 5
aload 12
invokevirtual io.vertx.core.impl.DeploymentManager.doDeploy:(Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Ljava/lang/ClassLoader;[Lio/vertx/core/Verticle;)V
16: return
end local 12 17: StackMap locals:
StackMap stack: java.lang.Exception
astore 12
start local 12 18: aload 12
astore 10
end local 12 end local 11 start local 10 19: goto 21
end local 10 20: StackMap locals: io.vertx.core.impl.DeploymentManager java.lang.String io.vertx.core.DeploymentOptions io.vertx.core.Handler io.vertx.core.spi.VerticleFactory java.lang.ClassLoader io.vertx.core.impl.ContextInternal io.vertx.core.impl.ContextInternal java.util.Iterator io.vertx.core.AsyncResult
StackMap stack:
aload 9
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
astore 10
start local 10 21: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
aload 8
aload 10
aload 1
aload 2
aload 6
aload 7
aload 5
aload 3
invokevirtual io.vertx.core.impl.DeploymentManager.doDeployVerticle:(Ljava/util/Iterator;Ljava/lang/Throwable;Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/impl/ContextInternal;Ljava/lang/ClassLoader;Lio/vertx/core/Handler;)V
end local 10 22: return
end local 9 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lio/vertx/core/impl/DeploymentManager;
0 23 9 ar Lio/vertx/core/AsyncResult<Ljava/lang/String;>;
19 20 10 err Ljava/lang/Throwable;
21 22 10 err Ljava/lang/Throwable;
2 19 11 resolvedName Ljava/lang/String;
6 8 12 e Ljava/lang/Exception;
15 17 12 verticles [Lio/vertx/core/Verticle;
18 19 12 e Ljava/lang/Exception;
Exception table:
from to target type
3 4 5 Class java.lang.Exception
14 16 17 Class java.lang.Exception
private static void lambda$4(java.util.concurrent.atomic.AtomicInteger, java.util.Set, io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Ljava/util/concurrent/atomic/AtomicInteger;Ljava/util/Set;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=4
start local 3 0: aload 3
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 2
1: getstatic io.vertx.core.impl.DeploymentManager.log:Lio/vertx/core/logging/Logger;
ldc "Undeploy failed"
aload 3
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.core.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
aload 1
invokeinterface java.util.Set.size:()I
if_icmpne 4
3: aload 2
invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 3 LocalVariableTable:
Start End Slot Name Signature
0 5 3 ar Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
private static void lambda$5(io.vertx.core.Handler, java.lang.Void);
descriptor: (Lio/vertx/core/Handler;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 v Ljava/lang/Void;
private static int lambda$6(io.vertx.core.spi.VerticleFactory, io.vertx.core.spi.VerticleFactory);
descriptor: (Lio/vertx/core/spi/VerticleFactory;Lio/vertx/core/spi/VerticleFactory;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface io.vertx.core.spi.VerticleFactory.order:()I
aload 1
invokeinterface io.vertx.core.spi.VerticleFactory.order:()I
isub
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fact1 Lio/vertx/core/spi/VerticleFactory;
0 1 1 fact2 Lio/vertx/core/spi/VerticleFactory;
private static void lambda$7(io.vertx.core.Handler, io.vertx.core.AsyncResult, java.lang.Void);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=3
start local 2 0: aload 0
aload 1
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
1: goto 5
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 3
start local 3 3: getstatic io.vertx.core.impl.DeploymentManager.log:Lio/vertx/core/logging/Logger;
ldc "Failure in calling handler"
aload 3
invokevirtual io.vertx.core.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
4: aload 3
athrow
end local 3 5: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 6 2 v Ljava/lang/Void;
3 5 3 t Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
private void lambda$8(io.vertx.core.Verticle, io.vertx.core.impl.ContextImpl, io.vertx.core.impl.Deployment, io.vertx.core.impl.DeploymentManager$DeploymentImpl, java.lang.String, java.util.concurrent.atomic.AtomicInteger, io.vertx.core.Verticle[], io.vertx.core.impl.ContextInternal, io.vertx.core.Handler, java.util.concurrent.atomic.AtomicBoolean, java.lang.Void);
descriptor: (Lio/vertx/core/Verticle;Lio/vertx/core/impl/ContextImpl;Lio/vertx/core/impl/Deployment;Lio/vertx/core/impl/DeploymentManager$DeploymentImpl;Ljava/lang/String;Ljava/util/concurrent/atomic/AtomicInteger;[Lio/vertx/core/Verticle;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Ljava/util/concurrent/atomic/AtomicBoolean;Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=12, locals=14, args_size=12
start local 0 start local 11 0: aload 1
aload 0
getfield io.vertx.core.impl.DeploymentManager.vertx:Lio/vertx/core/impl/VertxInternal;
aload 2
invokeinterface io.vertx.core.Verticle.init:(Lio/vertx/core/Vertx;Lio/vertx/core/Context;)V
1: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 12
start local 12 2: aload 12
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
astore 13
start local 13 3: aload 1
aload 12
invokeinterface io.vertx.core.Verticle.start:(Lio/vertx/core/Promise;)V
4: aload 13
aload 0
aload 3
aload 4
aload 1
aload 5
aload 6
aload 7
aload 8
aload 9
aload 10
aload 2
invokedynamic handle(Lio/vertx/core/impl/DeploymentManager;Lio/vertx/core/impl/Deployment;Lio/vertx/core/impl/DeploymentManager$DeploymentImpl;Lio/vertx/core/Verticle;Ljava/lang/String;Ljava/util/concurrent/atomic/AtomicInteger;[Lio/vertx/core/Verticle;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Ljava/util/concurrent/atomic/AtomicBoolean;Lio/vertx/core/impl/ContextImpl;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/impl/DeploymentManager.lambda$9(Lio/vertx/core/impl/Deployment;Lio/vertx/core/impl/DeploymentManager$DeploymentImpl;Lio/vertx/core/Verticle;Ljava/lang/String;Ljava/util/concurrent/atomic/AtomicInteger;[Lio/vertx/core/Verticle;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Ljava/util/concurrent/atomic/AtomicBoolean;Lio/vertx/core/impl/ContextImpl;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
end local 13 end local 12 5: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 12
start local 12 7: aload 10
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 9
8: aload 4
aload 8
aload 9
aload 2
aload 12
invokevirtual io.vertx.core.impl.DeploymentManager$DeploymentImpl.rollback:(Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Lio/vertx/core/impl/ContextImpl;Ljava/lang/Throwable;)V
end local 12 9: StackMap locals:
StackMap stack:
return
end local 11 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/core/impl/DeploymentManager;
0 10 11 v Ljava/lang/Void;
2 5 12 startPromise Lio/vertx/core/Promise<Ljava/lang/Void;>;
3 5 13 startFuture Lio/vertx/core/Future<Ljava/lang/Void;>;
7 9 12 t Ljava/lang/Throwable;
Exception table:
from to target type
0 5 6 Class java.lang.Throwable
private void lambda$2(io.vertx.core.spi.VerticleFactory, java.lang.String, io.vertx.core.DeploymentOptions, java.lang.ClassLoader, io.vertx.core.Promise);
descriptor: (Lio/vertx/core/spi/VerticleFactory;Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Ljava/lang/ClassLoader;Lio/vertx/core/Promise;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=7, args_size=6
start local 0 start local 5 0: aload 0
aload 1
aload 2
aload 3
invokevirtual io.vertx.core.DeploymentOptions.getInstances:()I
aload 4
invokevirtual io.vertx.core.impl.DeploymentManager.createVerticles:(Lio/vertx/core/spi/VerticleFactory;Ljava/lang/String;ILjava/lang/ClassLoader;)[Lio/vertx/core/Verticle;
astore 6
start local 6 1: aload 5
aload 6
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
end local 6 2: goto 5
StackMap locals:
StackMap stack: java.lang.Exception
3: astore 6
start local 6 4: aload 5
aload 6
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
end local 6 5: StackMap locals:
StackMap stack:
return
end local 5 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/impl/DeploymentManager;
0 6 5 createFut Lio/vertx/core/Promise<[Lio/vertx/core/Verticle;>;
1 2 6 verticles [Lio/vertx/core/Verticle;
4 5 6 e Ljava/lang/Exception;
Exception table:
from to target type
0 2 3 Class java.lang.Exception
private void lambda$3(java.lang.String, io.vertx.core.DeploymentOptions, io.vertx.core.impl.ContextInternal, io.vertx.core.impl.ContextInternal, io.vertx.core.Handler, java.lang.ClassLoader, java.util.Iterator, io.vertx.core.AsyncResult);
descriptor: (Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Ljava/lang/ClassLoader;Ljava/util/Iterator;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=9, locals=9, args_size=9
start local 0 start local 8 0: aload 8
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
aload 6
aload 8
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.Verticle[]
invokevirtual io.vertx.core.impl.DeploymentManager.doDeploy:(Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Ljava/lang/ClassLoader;[Lio/vertx/core/Verticle;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 7
aload 8
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
aload 1
aload 2
aload 3
aload 4
aload 6
aload 5
invokevirtual io.vertx.core.impl.DeploymentManager.doDeployVerticle:(Ljava/util/Iterator;Ljava/lang/Throwable;Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/impl/ContextInternal;Ljava/lang/ClassLoader;Lio/vertx/core/Handler;)V
4: StackMap locals:
StackMap stack:
return
end local 8 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/impl/DeploymentManager;
0 5 8 res Lio/vertx/core/AsyncResult<[Lio/vertx/core/Verticle;>;
private void lambda$9(io.vertx.core.impl.Deployment, io.vertx.core.impl.DeploymentManager$DeploymentImpl, io.vertx.core.Verticle, java.lang.String, java.util.concurrent.atomic.AtomicInteger, io.vertx.core.Verticle[], io.vertx.core.impl.ContextInternal, io.vertx.core.Handler, java.util.concurrent.atomic.AtomicBoolean, io.vertx.core.impl.ContextImpl, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/impl/Deployment;Lio/vertx/core/impl/DeploymentManager$DeploymentImpl;Lio/vertx/core/Verticle;Ljava/lang/String;Ljava/util/concurrent/atomic/AtomicInteger;[Lio/vertx/core/Verticle;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Ljava/util/concurrent/atomic/AtomicBoolean;Lio/vertx/core/impl/ContextImpl;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=13, args_size=12
start local 0 start local 11 0: aload 11
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 14
1: aload 1
ifnull 7
2: aload 1
aload 2
invokeinterface io.vertx.core.impl.Deployment.addChild:(Lio/vertx/core/impl/Deployment;)Z
ifeq 5
3: aload 2
iconst_1
putfield io.vertx.core.impl.DeploymentManager$DeploymentImpl.child:Z
4: goto 7
5: StackMap locals:
StackMap stack:
aload 2
aconst_null
invokevirtual io.vertx.core.impl.DeploymentManager$DeploymentImpl.undeploy:(Lio/vertx/core/Handler;)V
6: return
7: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.impl.DeploymentManager.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.metricsSPI:()Lio/vertx/core/spi/metrics/VertxMetrics;
astore 12
start local 12 8: aload 12
ifnull 10
9: aload 12
aload 3
invokeinterface io.vertx.core.spi.metrics.VertxMetrics.verticleDeployed:(Lio/vertx/core/Verticle;)V
10: StackMap locals: io.vertx.core.spi.metrics.VertxMetrics
StackMap stack:
aload 0
getfield io.vertx.core.impl.DeploymentManager.deployments:Ljava/util/Map;
aload 4
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 5
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
aload 6
arraylength
if_icmpne 16
12: aload 0
aload 4
aload 7
aload 8
invokevirtual io.vertx.core.impl.DeploymentManager.reportSuccess:(Ljava/lang/Object;Lio/vertx/core/Context;Lio/vertx/core/Handler;)V
end local 12 13: goto 16
StackMap locals:
StackMap stack:
14: aload 9
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 16
15: aload 2
aload 7
aload 8
aload 10
aload 11
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.core.impl.DeploymentManager$DeploymentImpl.rollback:(Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Lio/vertx/core/impl/ContextImpl;Ljava/lang/Throwable;)V
16: StackMap locals:
StackMap stack:
return
end local 11 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/vertx/core/impl/DeploymentManager;
0 17 11 ar Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
8 13 12 metrics Lio/vertx/core/spi/metrics/VertxMetrics;
}
SourceFile: "DeploymentManager.java"
NestMembers:
io.vertx.core.impl.DeploymentManager$DeploymentImpl io.vertx.core.impl.DeploymentManager$VerticleHolder
InnerClasses:
private DeploymentImpl = io.vertx.core.impl.DeploymentManager$DeploymentImpl of io.vertx.core.impl.DeploymentManager
VerticleHolder = io.vertx.core.impl.DeploymentManager$VerticleHolder of io.vertx.core.impl.DeploymentManager
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map