Package org.nuxeo.runtime.model.impl
Class ExtensionPointImpl
- java.lang.Object
-
- org.nuxeo.runtime.model.impl.ExtensionPointImpl
-
- All Implemented Interfaces:
ExtensionPoint
public class ExtensionPointImpl extends Object implements ExtensionPoint
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description Class<?>[]contributionsStringdocumentationStringnameRegistrationInforiStringsuperComponentXMapxmap
-
Constructor Summary
Constructors Constructor Description ExtensionPointImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensioncreateExtension(Element element)Class<?>[]getContributions()Gets the object types of the contributions accepted by this extension point.StringgetDocumentation()Gets the comment attached to this extension point if any.StringgetName()Gets the extension point name.StringgetSuperComponent()Get the component owning the base extension which this one extends.Object[]loadContributions(RegistrationInfo owner, Extension extension)
-
-
-
Method Detail
-
getContributions
public Class<?>[] getContributions()
Description copied from interface:ExtensionPointGets the object types of the contributions accepted by this extension point.- Specified by:
getContributionsin interfaceExtensionPoint- Returns:
- the accepted contribution types
-
getName
public String getName()
Description copied from interface:ExtensionPointGets the extension point name.- Specified by:
getNamein interfaceExtensionPoint- Returns:
- the extension point name
-
getDocumentation
public String getDocumentation()
Description copied from interface:ExtensionPointGets the comment attached to this extension point if any.- Specified by:
getDocumentationin interfaceExtensionPoint- Returns:
- the comment
-
getSuperComponent
public String getSuperComponent()
Description copied from interface:ExtensionPointGet the component owning the base extension which this one extends.If this method returns null, it means the current extension point is extending another extension point and should forward any contribution to the base extension. The base extension has the same name as this one but it is declared in another component.
- Specified by:
getSuperComponentin interfaceExtensionPoint- Returns:
- the base extension point if this extension point is extending another extension point, or null if none
-
loadContributions
public Object[] loadContributions(RegistrationInfo owner, Extension extension)
-
-