Examples of AssetsBundle


Examples of com.yammer.dropwizard.assets.AssetsBundle

    @Override
    public void initialize(Bootstrap<CONF> bootstrap) {
        // Static stuff from under /html (except for root  level things
        // like /index.html that need special handling)
        bootstrap.addBundle(new AssetsBundle("/html"));
    }
View Full Code Here

Examples of com.yammer.dropwizard.assets.AssetsBundle

    @Override
    public void initialize(Bootstrap<CONF> bootstrap) {
        // Static stuff from under /html (except for root  level things
        // like /index.html that need special handling)
        bootstrap.addBundle(new AssetsBundle("/html"));
    }
View Full Code Here

Examples of com.yammer.dropwizard.bundles.AssetsBundle

  }

  public TodoService() {
    addBundle(new ViewBundle());
    addBundle(new DBIExceptionsBundle());
    addBundle(new AssetsBundle("/assets"));
  }
View Full Code Here

Examples of com.yammer.dropwizard.bundles.AssetsBundle

        _timeMaster = timings;
        _testMode = testMode;

        // Static stuff from under /html (except for root  level things
        // like /index.html that need special handling)
        addBundle(new AssetsBundle("/html"));
    }
View Full Code Here

Examples of com.yammer.dropwizard.bundles.AssetsBundle

        this("blog");
    }

    protected BlogService(String name) {
        super(name);
        addBundle(new AssetsBundle(AssetsBundle.DEFAULT_PATH, CacheBuilderSpec.disableCaching())); // TODO: Start caching in production mode, but want to clear cache somehow
    }
View Full Code Here

Examples of com.yammer.dropwizard.bundles.AssetsBundle

        _timeMaster = timings;
        _testMode = testMode;

        // Static stuff from under /html (except for root  level things
        // like /index.html that need special handling)
        addBundle(new AssetsBundle("/html"));
    }
View Full Code Here

Examples of com.yammer.dropwizard.bundles.AssetsBundle

        new VirgilService().run(args);
    }

    protected VirgilService() {
        super("cirrus");
        addBundle(new AssetsBundle("/ui", "/"));
        addCommand(new VirgilCommand("cassandra"));
    }
View Full Code Here

Examples of io.dropwizard.assets.AssetsBundle

    }

    @Override
    public void initialize(Bootstrap<HelloWorldConfiguration> bootstrap) {
        bootstrap.addCommand(new RenderCommand());
        bootstrap.addBundle(new AssetsBundle());
        bootstrap.addBundle(new MigrationsBundle<HelloWorldConfiguration>() {
            @Override
            public DataSourceFactory getDataSourceFactory(HelloWorldConfiguration configuration) {
                return configuration.getDataSourceFactory();
            }
View Full Code Here

Examples of io.dropwizard.assets.AssetsBundle

    bootstrap.addBundle(guiceBundle);

    bootstrap.addBundle(new AcceptLanguageFilterBundle());
    bootstrap.addBundle(new CorsBundle());
    bootstrap.addBundle(new ViewBundle());
    bootstrap.addBundle(new AssetsBundle("/static/static/", "/static/"));
    bootstrap.addBundle(new AssetsBundle("/static/api-docs/", "/api-docs/", "index.html", "api-docs"));
    bootstrap.addBundle(new MigrationsBundle<SingularityConfiguration>() {
      @Override
      public DataSourceFactory getDataSourceFactory(final SingularityConfiguration configuration) {
        return configuration.getDatabaseConfiguration().get();
      }
View Full Code Here

Examples of io.dropwizard.assets.AssetsBundle

    @Override
    public void initialize(Bootstrap<CONF> bootstrap) {
        // Static stuff from under /html (except for root  level things
        // like /index.html that need special handling)
        bootstrap.addBundle(new AssetsBundle("/html"));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.