Package org.trellisldp.dropwizard
Class AbstractTrellisApplication<T extends TrellisConfiguration>
- java.lang.Object
 - 
- io.dropwizard.Application<T>
 - 
- org.trellisldp.dropwizard.AbstractTrellisApplication<T>
 
 
 
- 
- Direct Known Subclasses:
 TrellisApplication
public abstract class AbstractTrellisApplication<T extends TrellisConfiguration> extends io.dropwizard.Application<T>A base class for Dropwizard-based Trellis applications. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringCONFIG_DROPWIZARD_INITIALIZE_ROOTThe configuration key controlling whether an application should initialize its own root resource. 
- 
Constructor Summary
Constructors Constructor Description AbstractTrellisApplication() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()voidinitialize(io.dropwizard.setup.Bootstrap<T> bootstrap)voidrun(T config, io.dropwizard.setup.Environment environment) 
 - 
 
- 
- 
Field Detail
- 
CONFIG_DROPWIZARD_INITIALIZE_ROOT
public static final String CONFIG_DROPWIZARD_INITIALIZE_ROOT
The configuration key controlling whether an application should initialize its own root resource.- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getName
public String getName()
- Overrides:
 getNamein classio.dropwizard.Application<T extends TrellisConfiguration>
 
- 
initialize
public void initialize(io.dropwizard.setup.Bootstrap<T> bootstrap)
- Overrides:
 initializein classio.dropwizard.Application<T extends TrellisConfiguration>
 
- 
run
public void run(T config, io.dropwizard.setup.Environment environment) throws Exception
- Specified by:
 runin classio.dropwizard.Application<T extends TrellisConfiguration>- Throws:
 Exception
 
 - 
 
 -