Package org.apache.accumulo.server
Class ServiceEnvironmentImpl
java.lang.Object
org.apache.accumulo.server.ServiceEnvironmentImpl
- All Implemented Interfaces:
PluginEnvironment
,ServiceEnvironment
- Direct Known Subclasses:
BalancerEnvironmentImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.accumulo.core.spi.common.ServiceEnvironment
ServiceEnvironment.Configuration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetConfiguration
(TableId tableId) getTableName
(TableId tableId) <T> T
instantiate
(String className, Class<T> base) <T> T
instantiate
(TableId tableId, String className, Class<T> base)
-
Constructor Details
-
ServiceEnvironmentImpl
-
-
Method Details
-
getConfiguration
- Specified by:
getConfiguration
in interfacePluginEnvironment
- Specified by:
getConfiguration
in interfaceServiceEnvironment
-
getConfiguration
- Specified by:
getConfiguration
in interfacePluginEnvironment
- Specified by:
getConfiguration
in interfaceServiceEnvironment
-
getTableName
- Specified by:
getTableName
in interfacePluginEnvironment
- Throws:
TableNotFoundException
-
instantiate
public <T> T instantiate(String className, Class<T> base) throws ReflectiveOperationException, IOException - Specified by:
instantiate
in interfacePluginEnvironment
- Throws:
ReflectiveOperationException
IOException
-
instantiate
public <T> T instantiate(TableId tableId, String className, Class<T> base) throws ReflectiveOperationException, IOException - Specified by:
instantiate
in interfacePluginEnvironment
- Throws:
ReflectiveOperationException
IOException
-
getContext
-