public interface PluginAware
Modifier and Type | Method and Description |
---|---|
void |
setPluginDescriptor(PluginDescriptor pluginDescriptor)
Called by extensions framework when extension is loaded from plugin.xml descriptor.
|
void setPluginDescriptor(PluginDescriptor pluginDescriptor)
If this method is implemented in a bean class
extension point and it also exposes the stored plugin description via getPluginDescriptor
method, you must annotate the latter
with @Transient
to ensure that serialization engine won't try to deserialize this property.
pluginDescriptor
- descriptor of the plugin that provided this particular extension.