Package com.floragunn.signals
Class Signals
- java.lang.Object
-
- org.elasticsearch.common.component.AbstractLifecycleComponent
-
- com.floragunn.signals.Signals
-
- All Implemented Interfaces:
Closeable,AutoCloseable,org.elasticsearch.common.component.LifecycleComponent,org.elasticsearch.core.Releasable
public class Signals extends org.elasticsearch.common.component.AbstractLifecycleComponent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSignals.InitializationState
-
Constructor Summary
Constructors Constructor Description Signals(org.elasticsearch.common.settings.Settings settings, com.floragunn.searchguard.modules.state.ComponentState componentState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Object>createComponents(org.elasticsearch.client.Client client, org.elasticsearch.cluster.service.ClusterService clusterService, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.watcher.ResourceWatcherService resourceWatcherService, org.elasticsearch.script.ScriptService scriptService, org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.env.Environment environment, org.elasticsearch.env.NodeEnvironment nodeEnvironment, com.floragunn.searchguard.internalauthtoken.InternalAuthTokenProvider internalAuthTokenProvider, com.floragunn.searchguard.configuration.ProtectedConfigIndexService protectedConfigIndexService, com.floragunn.searchguard.sgconf.DynamicConfigFactory dynamicConfigFactory, com.floragunn.searchsupport.diag.DiagnosticContext diagnosticContext)protected voiddoClose()protected voiddoStart()protected voiddoStop()AccountRegistrygetAccountRegistry()SignalsSettingsgetSignalsSettings()SignalsTenantgetTenant(com.floragunn.searchguard.user.User user)SignalsTenantgetTenant(String name)
-
-
-
Method Detail
-
createComponents
public Collection<Object> createComponents(org.elasticsearch.client.Client client, org.elasticsearch.cluster.service.ClusterService clusterService, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.watcher.ResourceWatcherService resourceWatcherService, org.elasticsearch.script.ScriptService scriptService, org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.env.Environment environment, org.elasticsearch.env.NodeEnvironment nodeEnvironment, com.floragunn.searchguard.internalauthtoken.InternalAuthTokenProvider internalAuthTokenProvider, com.floragunn.searchguard.configuration.ProtectedConfigIndexService protectedConfigIndexService, com.floragunn.searchguard.sgconf.DynamicConfigFactory dynamicConfigFactory, com.floragunn.searchsupport.diag.DiagnosticContext diagnosticContext)
-
getTenant
public SignalsTenant getTenant(com.floragunn.searchguard.user.User user) throws SignalsUnavailableException, NoSuchTenantException
-
getTenant
public SignalsTenant getTenant(String name) throws SignalsUnavailableException, NoSuchTenantException
-
doStart
protected void doStart()
- Specified by:
doStartin classorg.elasticsearch.common.component.AbstractLifecycleComponent
-
doStop
protected void doStop()
- Specified by:
doStopin classorg.elasticsearch.common.component.AbstractLifecycleComponent
-
doClose
protected void doClose() throws IOException- Specified by:
doClosein classorg.elasticsearch.common.component.AbstractLifecycleComponent- Throws:
IOException
-
getAccountRegistry
public AccountRegistry getAccountRegistry()
-
getSignalsSettings
public SignalsSettings getSignalsSettings()
-
-