public abstract class io.dropwizard.cli.EnvironmentCommand<T extends io.dropwizard.Configuration> extends io.dropwizard.cli.ConfiguredCommand<T>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.dropwizard.cli.EnvironmentCommand
super_class: io.dropwizard.cli.ConfiguredCommand
{
private final io.dropwizard.Application<T> application;
descriptor: Lio/dropwizard/Application;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/dropwizard/Application<TT;>;
protected void <init>(io.dropwizard.Application<T>, java.lang.String, java.lang.String);
descriptor: (Lio/dropwizard/Application;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
aload 3
invokespecial io.dropwizard.cli.ConfiguredCommand.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
aload 1
putfield io.dropwizard.cli.EnvironmentCommand.application:Lio/dropwizard/Application;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/dropwizard/cli/EnvironmentCommand<TT;>;
0 3 1 application Lio/dropwizard/Application<TT;>;
0 3 2 name Ljava/lang/String;
0 3 3 description Ljava/lang/String;
Signature: (Lio/dropwizard/Application<TT;>;Ljava/lang/String;Ljava/lang/String;)V
MethodParameters:
Name Flags
application
name
description
protected void run(io.dropwizard.setup.Bootstrap<T>, net.sourceforge.argparse4j.inf.Namespace, );
descriptor: (Lio/dropwizard/setup/Bootstrap;Lnet/sourceforge/argparse4j/inf/Namespace;Lio/dropwizard/Configuration;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new io.dropwizard.setup.Environment
dup
aload 1
invokevirtual io.dropwizard.setup.Bootstrap.getApplication:()Lio/dropwizard/Application;
invokevirtual io.dropwizard.Application.getName:()Ljava/lang/String;
1: aload 1
invokevirtual io.dropwizard.setup.Bootstrap.getObjectMapper:()Lcom/fasterxml/jackson/databind/ObjectMapper;
2: aload 1
invokevirtual io.dropwizard.setup.Bootstrap.getValidatorFactory:()Ljavax/validation/ValidatorFactory;
invokeinterface javax.validation.ValidatorFactory.getValidator:()Ljavax/validation/Validator;
3: aload 1
invokevirtual io.dropwizard.setup.Bootstrap.getMetricRegistry:()Lcom/codahale/metrics/MetricRegistry;
4: aload 1
invokevirtual io.dropwizard.setup.Bootstrap.getClassLoader:()Ljava/lang/ClassLoader;
5: aload 1
invokevirtual io.dropwizard.setup.Bootstrap.getHealthCheckRegistry:()Lcom/codahale/metrics/health/HealthCheckRegistry;
6: invokespecial io.dropwizard.setup.Environment.<init>:(Ljava/lang/String;Lcom/fasterxml/jackson/databind/ObjectMapper;Ljavax/validation/Validator;Lcom/codahale/metrics/MetricRegistry;Ljava/lang/ClassLoader;Lcom/codahale/metrics/health/HealthCheckRegistry;)V
astore 4
start local 4 7: aload 3
invokevirtual io.dropwizard.Configuration.getMetricsFactory:()Lio/dropwizard/metrics/MetricsFactory;
aload 4
invokevirtual io.dropwizard.setup.Environment.lifecycle:()Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
8: aload 1
invokevirtual io.dropwizard.setup.Bootstrap.getMetricRegistry:()Lcom/codahale/metrics/MetricRegistry;
9: invokevirtual io.dropwizard.metrics.MetricsFactory.configure:(Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;Lcom/codahale/metrics/MetricRegistry;)V
10: aload 3
invokevirtual io.dropwizard.Configuration.getServerFactory:()Lio/dropwizard/server/ServerFactory;
aload 4
invokeinterface io.dropwizard.server.ServerFactory.configure:(Lio/dropwizard/setup/Environment;)V
11: aload 1
aload 3
aload 4
invokevirtual io.dropwizard.setup.Bootstrap.run:(Lio/dropwizard/Configuration;Lio/dropwizard/setup/Environment;)V
12: aload 0
getfield io.dropwizard.cli.EnvironmentCommand.application:Lio/dropwizard/Application;
aload 3
aload 4
invokevirtual io.dropwizard.Application.run:(Lio/dropwizard/Configuration;Lio/dropwizard/setup/Environment;)V
13: aload 0
aload 4
aload 2
aload 3
invokevirtual io.dropwizard.cli.EnvironmentCommand.run:(Lio/dropwizard/setup/Environment;Lnet/sourceforge/argparse4j/inf/Namespace;Lio/dropwizard/Configuration;)V
14: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/dropwizard/cli/EnvironmentCommand<TT;>;
0 15 1 bootstrap Lio/dropwizard/setup/Bootstrap<TT;>;
0 15 2 namespace Lnet/sourceforge/argparse4j/inf/Namespace;
0 15 3 configuration TT;
7 15 4 environment Lio/dropwizard/setup/Environment;
Exceptions:
throws java.lang.Exception
Signature: (Lio/dropwizard/setup/Bootstrap<TT;>;Lnet/sourceforge/argparse4j/inf/Namespace;TT;)V
MethodParameters:
Name Flags
bootstrap
namespace
configuration
protected abstract void run(io.dropwizard.setup.Environment, net.sourceforge.argparse4j.inf.Namespace, );
descriptor: (Lio/dropwizard/setup/Environment;Lnet/sourceforge/argparse4j/inf/Namespace;Lio/dropwizard/Configuration;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
Signature: (Lio/dropwizard/setup/Environment;Lnet/sourceforge/argparse4j/inf/Namespace;TT;)V
MethodParameters:
Name Flags
environment
namespace
configuration
}
Signature: <T:Lio/dropwizard/Configuration;>Lio/dropwizard/cli/ConfiguredCommand<TT;>;
SourceFile: "EnvironmentCommand.java"