Package org.graylog.plugins.threatintel
Class PluginConfigService
java.lang.Object
org.graylog.plugins.threatintel.PluginConfigService
Provides up to date access to this plugins' cluster config without forcing consumers to listen to updates manually.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Used byPluginConfigService
to return the previously observed and current configuration so that clients can act on changes if they need to. -
Constructor Summary
ConstructorDescriptionPluginConfigService
(ClusterConfigService clusterConfigService, com.google.common.eventbus.EventBus serverEventBus, DBDataAdapterService dbDataAdapterService, ClusterEventBus clusterEventBus) -
Method Summary
Modifier and TypeMethodDescriptionconfig()
void
handleUpdatedClusterConfig
(ClusterConfigChangedEvent clusterConfigChangedEvent)
-
Constructor Details
-
PluginConfigService
@Inject public PluginConfigService(ClusterConfigService clusterConfigService, com.google.common.eventbus.EventBus serverEventBus, DBDataAdapterService dbDataAdapterService, ClusterEventBus clusterEventBus)
-
-
Method Details
-
config
-
handleUpdatedClusterConfig
-