public interface ExtensionsArea
Extensions.getRootArea()
Modifier and Type | Method and Description |
---|---|
<T> ExtensionPoint<T> |
getExtensionPoint(ExtensionPointName<T> extensionPointName) |
<T> ExtensionPoint<T> |
getExtensionPoint(java.lang.String extensionPointName) |
<T> ExtensionPoint<T> |
getExtensionPointIfRegistered(java.lang.String extensionPointName) |
ExtensionPoint<?> [] |
getExtensionPoints() |
boolean |
hasExtensionPoint(ExtensionPointName<?> extensionPointName) |
boolean |
hasExtensionPoint(java.lang.String extensionPointName) |
void |
registerExtension(ExtensionPoint<?> extensionPoint,
PluginDescriptor pluginDescriptor,
Element extensionElement)
Deprecated.
Do not use.
|
void |
registerExtension(PluginDescriptor pluginDescriptor,
Element extensionElement,
java.lang.String extensionNs)
Registers a new extension.
|
default void |
registerExtensionPoint(java.lang.String extensionPointName,
java.lang.String extensionPointBeanClass)
Deprecated.
use
ExtensionsArea#registerExtensionPoint(BaseExtensionPointName, String, ExtensionPoint.Kind, Disposable) |
void |
registerExtensionPoint(java.lang.String extensionPointName,
java.lang.String extensionPointBeanClass,
ExtensionPoint.Kind kind) |
void |
unregisterExtensionPoint(java.lang.String extensionPointName) |
@Deprecated default void registerExtensionPoint(java.lang.String extensionPointName, java.lang.String extensionPointBeanClass)
ExtensionsArea#registerExtensionPoint(BaseExtensionPointName, String, ExtensionPoint.Kind, Disposable)
void registerExtensionPoint(java.lang.String extensionPointName, java.lang.String extensionPointBeanClass, ExtensionPoint.Kind kind)
void unregisterExtensionPoint(java.lang.String extensionPointName)
boolean hasExtensionPoint(java.lang.String extensionPointName)
boolean hasExtensionPoint(ExtensionPointName<?> extensionPointName)
<T> ExtensionPoint<T> getExtensionPoint(java.lang.String extensionPointName)
<T> ExtensionPoint<T> getExtensionPointIfRegistered(java.lang.String extensionPointName)
<T> ExtensionPoint<T> getExtensionPoint(ExtensionPointName<T> extensionPointName)
ExtensionPoint<?> [] getExtensionPoints()
void registerExtension(PluginDescriptor pluginDescriptor, Element extensionElement, java.lang.String extensionNs)
pluginDescriptor
- plugin to which extension belongsextensionElement
- element from plugin.xml file where extension settings are specifiedextensionNs
- extension namespace which is prepended to the tag name from extensionElement
to form the qualified extension name.@Deprecated void registerExtension(ExtensionPoint<?> extensionPoint, PluginDescriptor pluginDescriptor, Element extensionElement)