Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.yammer.dropwizard;
 
A reusable bundle of functionality, used to define blocks of service behavior that are conditional on configuration parameters.

Parameters:
<T> the required configuration interface
public interface ConfiguredBundle<T> {
    
Initializes the environment.

Parameters:
configuration the configuration object
environment the service's com.yammer.dropwizard.config.Environment
Throws:
java.lang.Exception if something goes wrong
    void run(T configurationEnvironment environmentthrows Exception;

    
Initializes the service bootstrap.

Parameters:
bootstrap the service bootstrap
    void initialize(Bootstrap<?> bootstrap);
New to GrepCode? Check out our FAQ X