T
- Type of extension point that this extension implementspublic class Extension<T>
extends java.lang.Object
Contains the name of the plugin that provides the extension, the extension point implementation and optionally the export name under which the extension was exported.
An export name is only available if this extension is an entry in a DynamicMap
.
Modifier | Constructor and Description |
---|---|
|
Extension(java.lang.String pluginName,
com.google.inject.Provider<T> provider) |
protected |
Extension(java.lang.String pluginName,
java.lang.String exportName,
com.google.inject.Provider<T> provider) |
Modifier and Type | Method and Description |
---|---|
T |
get() |
java.lang.String |
getExportName() |
java.lang.String |
getPluginName() |
com.google.inject.Provider<T> |
getProvider() |