org.elasticsearch.plugins
Class AbstractPlugin

java.lang.Object
  extended by org.elasticsearch.plugins.AbstractPlugin
All Implemented Interfaces:
Plugin

public abstract class AbstractPlugin
extends java.lang.Object
implements Plugin

A base class for a plugin.


Constructor Summary
AbstractPlugin()
           
 
Method Summary
 Settings additionalSettings()
          Additional node settings loaded by the plugin
 java.util.Collection<java.lang.Class<? extends org.elasticsearch.common.inject.Module>> indexModules()
          Defaults to return an empty list.
 java.util.Collection<java.lang.Class<? extends CloseableIndexComponent>> indexServices()
          Defaults to return an empty list.
 java.util.Collection<java.lang.Class<? extends org.elasticsearch.common.inject.Module>> modules()
          Defaults to return an empty list.
 void processModule(org.elasticsearch.common.inject.Module module)
           
 java.util.Collection<java.lang.Class<? extends LifecycleComponent>> services()
          Defaults to return an empty list.
 java.util.Collection<java.lang.Class<? extends org.elasticsearch.common.inject.Module>> shardModules()
          Defaults to return an empty list.
 java.util.Collection<java.lang.Class<? extends CloseableIndexComponent>> shardServices()
          Defaults to return an empty list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.elasticsearch.plugins.Plugin
description, name
 

Constructor Detail

AbstractPlugin

public AbstractPlugin()
Method Detail

modules

public java.util.Collection<java.lang.Class<? extends org.elasticsearch.common.inject.Module>> modules()
Defaults to return an empty list.

Specified by:
modules in interface Plugin

services

public java.util.Collection<java.lang.Class<? extends LifecycleComponent>> services()
Defaults to return an empty list.

Specified by:
services in interface Plugin

indexModules

public java.util.Collection<java.lang.Class<? extends org.elasticsearch.common.inject.Module>> indexModules()
Defaults to return an empty list.

Specified by:
indexModules in interface Plugin

indexServices

public java.util.Collection<java.lang.Class<? extends CloseableIndexComponent>> indexServices()
Defaults to return an empty list.

Specified by:
indexServices in interface Plugin

shardModules

public java.util.Collection<java.lang.Class<? extends org.elasticsearch.common.inject.Module>> shardModules()
Defaults to return an empty list.

Specified by:
shardModules in interface Plugin

shardServices

public java.util.Collection<java.lang.Class<? extends CloseableIndexComponent>> shardServices()
Defaults to return an empty list.

Specified by:
shardServices in interface Plugin

processModule

public void processModule(org.elasticsearch.common.inject.Module module)
Specified by:
processModule in interface Plugin

additionalSettings

public Settings additionalSettings()
Description copied from interface: Plugin
Additional node settings loaded by the plugin

Specified by:
additionalSettings in interface Plugin