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.common.lease.Releasable
public class Signals extends org.elasticsearch.common.component.AbstractLifecycleComponent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSignals.InitializationState
-
Method Summary
All Methods Static 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.common.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.env.Environment environment, org.elasticsearch.env.NodeEnvironment nodeEnvironment, com.floragunn.searchguard.internalauthtoken.InternalAuthTokenProvider internalAuthTokenProvider, com.floragunn.searchguard.SearchGuardPlugin.ProtectedIndices protectedIndices, org.elasticsearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, com.floragunn.searchguard.sgconf.DynamicConfigFactory dynamicConfigFactory)protected voiddoClose()protected voiddoStart()protected voiddoStop()AccountRegistrygetAccountRegistry()static List<org.elasticsearch.plugins.ActionPlugin.ActionHandler<? extends org.elasticsearch.action.ActionRequest,? extends org.elasticsearch.action.ActionResponse>>getActions()static List<org.elasticsearch.script.ScriptContext<?>>getContexts()static List<org.elasticsearch.common.settings.Setting<?>>getSettings()SignalsSettingsgetSignalsSettings()SignalsTenantgetTenant(com.floragunn.searchguard.user.User user)SignalsTenantgetTenant(String name)
-
-
-
Constructor Detail
-
Signals
public Signals(org.elasticsearch.common.settings.Settings settings, Path configPath)
-
-
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.common.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.env.Environment environment, org.elasticsearch.env.NodeEnvironment nodeEnvironment, com.floragunn.searchguard.internalauthtoken.InternalAuthTokenProvider internalAuthTokenProvider, com.floragunn.searchguard.SearchGuardPlugin.ProtectedIndices protectedIndices, org.elasticsearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, com.floragunn.searchguard.sgconf.DynamicConfigFactory dynamicConfigFactory)
-
getTenant
public SignalsTenant getTenant(com.floragunn.searchguard.user.User user) throws SignalsUnavailableException, NoSuchTenantException
-
getTenant
public SignalsTenant getTenant(String name) throws SignalsUnavailableException, NoSuchTenantException
-
getSettings
public static List<org.elasticsearch.common.settings.Setting<?>> getSettings()
-
getContexts
public static List<org.elasticsearch.script.ScriptContext<?>> getContexts()
-
getActions
public static List<org.elasticsearch.plugins.ActionPlugin.ActionHandler<? extends org.elasticsearch.action.ActionRequest,? extends org.elasticsearch.action.ActionResponse>> getActions()
-
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()
-
-