public class io.dropwizard.lifecycle.setup.LifecycleEnvironment
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.lifecycle.setup.LifecycleEnvironment
super_class: java.lang.Object
{
private static final org.slf4j.Logger LOGGER;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.List<org.eclipse.jetty.util.component.LifeCycle> managedObjects;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/eclipse/jetty/util/component/LifeCycle;>;
private final java.util.List<org.eclipse.jetty.util.component.LifeCycle$Listener> lifecycleListeners;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/eclipse/jetty/util/component/LifeCycle$Listener;>;
private final com.codahale.metrics.MetricRegistry metricRegistry;
descriptor: Lcom/codahale/metrics/MetricRegistry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic io.dropwizard.lifecycle.setup.LifecycleEnvironment.LOGGER:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(com.codahale.metrics.MetricRegistry);
descriptor: (Lcom/codahale/metrics/MetricRegistry;)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.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield io.dropwizard.lifecycle.setup.LifecycleEnvironment.managedObjects:Ljava/util/List;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield io.dropwizard.lifecycle.setup.LifecycleEnvironment.lifecycleListeners:Ljava/util/List;
3: aload 0
aload 1
putfield io.dropwizard.lifecycle.setup.LifecycleEnvironment.metricRegistry:Lcom/codahale/metrics/MetricRegistry;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
0 5 1 metricRegistry Lcom/codahale/metrics/MetricRegistry;
MethodParameters:
Name Flags
metricRegistry
public java.util.List<org.eclipse.jetty.util.component.LifeCycle> getManagedObjects();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.lifecycle.setup.LifecycleEnvironment.managedObjects:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
Signature: ()Ljava/util/List<Lorg/eclipse/jetty/util/component/LifeCycle;>;
public void manage(io.dropwizard.lifecycle.Managed);
descriptor: (Lio/dropwizard/lifecycle/Managed;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.lifecycle.setup.LifecycleEnvironment.managedObjects:Ljava/util/List;
new io.dropwizard.lifecycle.JettyManaged
dup
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.dropwizard.lifecycle.Managed
invokespecial io.dropwizard.lifecycle.JettyManaged.<init>:(Lio/dropwizard/lifecycle/Managed;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
0 2 1 managed Lio/dropwizard/lifecycle/Managed;
MethodParameters:
Name Flags
managed
public void manage(org.eclipse.jetty.util.component.LifeCycle);
descriptor: (Lorg/eclipse/jetty/util/component/LifeCycle;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.lifecycle.setup.LifecycleEnvironment.managedObjects:Ljava/util/List;
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.eclipse.jetty.util.component.LifeCycle
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
0 2 1 managed Lorg/eclipse/jetty/util/component/LifeCycle;
MethodParameters:
Name Flags
managed
public io.dropwizard.lifecycle.setup.ExecutorServiceBuilder executorService(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/dropwizard/lifecycle/setup/ExecutorServiceBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new io.dropwizard.lifecycle.setup.ExecutorServiceBuilder
dup
aload 0
aload 1
invokespecial io.dropwizard.lifecycle.setup.ExecutorServiceBuilder.<init>:(Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
0 1 1 nameFormat Ljava/lang/String;
MethodParameters:
Name Flags
nameFormat
public io.dropwizard.lifecycle.setup.ExecutorServiceBuilder executorService(java.lang.String, java.util.concurrent.ThreadFactory);
descriptor: (Ljava/lang/String;Ljava/util/concurrent/ThreadFactory;)Lio/dropwizard/lifecycle/setup/ExecutorServiceBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new io.dropwizard.lifecycle.setup.ExecutorServiceBuilder
dup
aload 0
aload 1
aload 2
invokespecial io.dropwizard.lifecycle.setup.ExecutorServiceBuilder.<init>:(Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;Ljava/lang/String;Ljava/util/concurrent/ThreadFactory;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
0 1 1 nameFormat Ljava/lang/String;
0 1 2 factory Ljava/util/concurrent/ThreadFactory;
MethodParameters:
Name Flags
nameFormat
factory
public io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder scheduledExecutorService(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/dropwizard/lifecycle/setup/ScheduledExecutorServiceBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual io.dropwizard.lifecycle.setup.LifecycleEnvironment.scheduledExecutorService:(Ljava/lang/String;Z)Lio/dropwizard/lifecycle/setup/ScheduledExecutorServiceBuilder;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
0 1 1 nameFormat Ljava/lang/String;
MethodParameters:
Name Flags
nameFormat
public io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder scheduledExecutorService(java.lang.String, java.util.concurrent.ThreadFactory);
descriptor: (Ljava/lang/String;Ljava/util/concurrent/ThreadFactory;)Lio/dropwizard/lifecycle/setup/ScheduledExecutorServiceBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder
dup
aload 0
aload 1
aload 2
invokespecial io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.<init>:(Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;Ljava/lang/String;Ljava/util/concurrent/ThreadFactory;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
0 1 1 nameFormat Ljava/lang/String;
0 1 2 factory Ljava/util/concurrent/ThreadFactory;
MethodParameters:
Name Flags
nameFormat
factory
public io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder scheduledExecutorService(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lio/dropwizard/lifecycle/setup/ScheduledExecutorServiceBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder
dup
aload 0
aload 1
iload 2
invokespecial io.dropwizard.lifecycle.setup.ScheduledExecutorServiceBuilder.<init>:(Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;Ljava/lang/String;Z)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
0 1 1 nameFormat Ljava/lang/String;
0 1 2 useDaemonThreads Z
MethodParameters:
Name Flags
nameFormat
useDaemonThreads
public void addServerLifecycleListener(io.dropwizard.lifecycle.ServerLifecycleListener);
descriptor: (Lio/dropwizard/lifecycle/ServerLifecycleListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.lifecycle.setup.LifecycleEnvironment.lifecycleListeners:Ljava/util/List;
new io.dropwizard.lifecycle.setup.LifecycleEnvironment$ServerListener
dup
aload 1
invokespecial io.dropwizard.lifecycle.setup.LifecycleEnvironment$ServerListener.<init>:(Lio/dropwizard/lifecycle/ServerLifecycleListener;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
0 2 1 listener Lio/dropwizard/lifecycle/ServerLifecycleListener;
MethodParameters:
Name Flags
listener
public void addLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle$Listener);
descriptor: (Lorg/eclipse/jetty/util/component/LifeCycle$Listener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.lifecycle.setup.LifecycleEnvironment.lifecycleListeners:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
0 2 1 listener Lorg/eclipse/jetty/util/component/LifeCycle$Listener;
MethodParameters:
Name Flags
listener
public void attach(org.eclipse.jetty.util.component.ContainerLifeCycle);
descriptor: (Lorg/eclipse/jetty/util/component/ContainerLifeCycle;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.lifecycle.setup.LifecycleEnvironment.managedObjects:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: io.dropwizard.lifecycle.setup.LifecycleEnvironment org.eclipse.jetty.util.component.ContainerLifeCycle top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.component.LifeCycle
astore 2
start local 2 2: aload 1
aload 2
invokevirtual org.eclipse.jetty.util.component.ContainerLifeCycle.addBean:(Ljava/lang/Object;)Z
pop
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: aload 1
new io.dropwizard.lifecycle.setup.LifecycleEnvironment$1
dup
aload 0
invokespecial io.dropwizard.lifecycle.setup.LifecycleEnvironment$1.<init>:(Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;)V
invokevirtual org.eclipse.jetty.util.component.ContainerLifeCycle.addLifeCycleListener:(Lorg/eclipse/jetty/util/component/LifeCycle$Listener;)V
5: aload 0
getfield io.dropwizard.lifecycle.setup.LifecycleEnvironment.lifecycleListeners:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals:
StackMap stack:
6: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.component.LifeCycle$Listener
astore 2
start local 2 7: aload 1
aload 2
invokevirtual org.eclipse.jetty.util.component.ContainerLifeCycle.addLifeCycleListener:(Lorg/eclipse/jetty/util/component/LifeCycle$Listener;)V
end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
0 10 1 container Lorg/eclipse/jetty/util/component/ContainerLifeCycle;
2 3 2 object Lorg/eclipse/jetty/util/component/LifeCycle;
7 8 2 listener Lorg/eclipse/jetty/util/component/LifeCycle$Listener;
MethodParameters:
Name Flags
container
public com.codahale.metrics.MetricRegistry getMetricRegistry();
descriptor: ()Lcom/codahale/metrics/MetricRegistry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.lifecycle.setup.LifecycleEnvironment.metricRegistry:Lcom/codahale/metrics/MetricRegistry;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
}
SourceFile: "LifecycleEnvironment.java"
NestMembers:
io.dropwizard.lifecycle.setup.LifecycleEnvironment$1 io.dropwizard.lifecycle.setup.LifecycleEnvironment$ServerListener
InnerClasses:
io.dropwizard.lifecycle.setup.LifecycleEnvironment$1
private ServerListener = io.dropwizard.lifecycle.setup.LifecycleEnvironment$ServerListener of io.dropwizard.lifecycle.setup.LifecycleEnvironment
public abstract Listener = org.eclipse.jetty.util.component.LifeCycle$Listener of org.eclipse.jetty.util.component.LifeCycle