Search in sources :

Example 1 with ServerStatusBindings

use of org.graylog2.shared.bindings.ServerStatusBindings in project graylog2-server by Graylog2.

the class ServerBootstrap method getSharedBindingsModules.

@Override
protected List<Module> getSharedBindingsModules() {
    final List<Module> result = super.getSharedBindingsModules();
    result.add(new GenericBindings());
    result.add(new SecurityBindings());
    result.add(new ServerStatusBindings(capabilities()));
    result.add(new ValidatorModule());
    result.add(new SharedPeriodicalBindings());
    result.add(new SchedulerBindings());
    result.add(new GenericInitializerBindings());
    result.add(new MessageInputBindings());
    result.add(new SystemStatsModule(configuration.isDisableSigar()));
    return result;
}
Also used : GenericInitializerBindings(org.graylog2.shared.bindings.GenericInitializerBindings) MessageInputBindings(org.graylog2.shared.bindings.MessageInputBindings) SecurityBindings(org.graylog2.shared.security.SecurityBindings) ServerStatusBindings(org.graylog2.shared.bindings.ServerStatusBindings) ValidatorModule(org.graylog2.shared.bindings.ValidatorModule) SystemStatsModule(org.graylog2.shared.system.stats.SystemStatsModule) SchedulerBindings(org.graylog2.shared.bindings.SchedulerBindings) GenericBindings(org.graylog2.shared.bindings.GenericBindings) Module(com.google.inject.Module) ValidatorModule(org.graylog2.shared.bindings.ValidatorModule) SystemStatsModule(org.graylog2.shared.system.stats.SystemStatsModule) SharedPeriodicalBindings(org.graylog2.shared.bindings.SharedPeriodicalBindings)

Aggregations

Module (com.google.inject.Module)1 GenericBindings (org.graylog2.shared.bindings.GenericBindings)1 GenericInitializerBindings (org.graylog2.shared.bindings.GenericInitializerBindings)1 MessageInputBindings (org.graylog2.shared.bindings.MessageInputBindings)1 SchedulerBindings (org.graylog2.shared.bindings.SchedulerBindings)1 ServerStatusBindings (org.graylog2.shared.bindings.ServerStatusBindings)1 SharedPeriodicalBindings (org.graylog2.shared.bindings.SharedPeriodicalBindings)1 ValidatorModule (org.graylog2.shared.bindings.ValidatorModule)1 SecurityBindings (org.graylog2.shared.security.SecurityBindings)1 SystemStatsModule (org.graylog2.shared.system.stats.SystemStatsModule)1