Package org.datanucleus.plugin
Class Extension
java.lang.Object
org.datanucleus.plugin.Extension
Extension declared in a plug-in. Represents the XML element
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) ConfigurationElement[]
Configuration elements *private final Bundle
declared plugin *private ExtensionPoint
reference to the extension point this extension implements *private final String
point id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a new child ConfigurationElement (declared nested in the extension XML element)Acessor for all ConfigurationElements declared in the ExtensionAcessor to the extension point idAccessor for the Plug-in that declared this ExtensiongetPoint()
Acessor for the ExtensionPoint that this Extension implementsvoid
setExtensionPoint
(ExtensionPoint point) Assign the ExtensionPoint to this Extension
-
Field Details
-
point
reference to the extension point this extension implements * -
plugin
declared plugin * -
pointId
point id -
configurationElement
ConfigurationElement[] configurationElementConfiguration elements *
-
-
Constructor Details
-
Extension
-
Extension
-
-
Method Details
-
setExtensionPoint
Assign the ExtensionPoint to this Extension- Parameters:
point
- The extension point
-
getExtensionPointId
Acessor to the extension point id- Returns:
- extension point id
-
getPlugin
Accessor for the Plug-in that declared this Extension- Returns:
- the Plug-in
-
getPoint
Acessor for the ExtensionPoint that this Extension implements- Returns:
- the ExtensionPoint
-
addConfigurationElement
Add a new child ConfigurationElement (declared nested in the extension XML element)- Parameters:
element
- the ConfigurationElement
-
getConfigurationElements
Acessor for all ConfigurationElements declared in the Extension- Returns:
- array of ConfigurationElement
-