public class ExtensionManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.util.Collection<water.webserver.iface.RequestAuthExtension> |
getAuthExtensions() |
AbstractH2OExtension |
getCoreExtension(java.lang.String extensionName) |
java.util.Collection<AbstractH2OExtension> |
getCoreExtensions() |
static ExtensionManager |
getInstance() |
java.util.Collection<H2OListenerExtension> |
getListenerExtensions() |
java.util.Collection<RestApiExtension> |
getRestApiExtensions() |
boolean |
isCoreExtensionEnabled(java.lang.String name) |
boolean |
isCoreExtensionsEnabled(java.lang.String extensionName) |
java.lang.StringBuilder |
makeExtensionReport(java.lang.StringBuilder sb) |
void |
registerAuthExtensions() |
void |
registerCoreExtensions()
Register H2O extensions.
|
void |
registerListenerExtensions()
Register various listener extensions
Use reflection to find all classes that inherit from
AbstractRegister
and call the register() method for each. |
void |
registerRestApiExtensions()
Register REST API routes.
|
public static ExtensionManager getInstance()
public java.lang.StringBuilder makeExtensionReport(java.lang.StringBuilder sb)
public AbstractH2OExtension getCoreExtension(java.lang.String extensionName)
public java.util.Collection<AbstractH2OExtension> getCoreExtensions()
public boolean isCoreExtensionsEnabled(java.lang.String extensionName)
public void registerCoreExtensions()
public java.util.Collection<RestApiExtension> getRestApiExtensions()
public void registerRestApiExtensions()
AbstractRegister
and call the register() method for each.public boolean isCoreExtensionEnabled(java.lang.String name)
public void registerListenerExtensions()
AbstractRegister
and call the register() method for each.public java.util.Collection<H2OListenerExtension> getListenerExtensions()
public void registerAuthExtensions()
public java.util.Collection<water.webserver.iface.RequestAuthExtension> getAuthExtensions()