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 Details

    • name

      public String name
    • superComponent

      public String superComponent
    • documentation

      public String documentation
    • contributions

      public Class<?>[] contributions
    • xmap

      public XMap xmap
    • ri

      public RegistrationInfo ri
  • Constructor Details

    • ExtensionPointImpl

      public ExtensionPointImpl()
  • Method Details

    • getContributions

      public Class<?>[] getContributions()
      Description copied from interface: ExtensionPoint
      Gets the object types of the contributions accepted by this extension point.
      Specified by:
      getContributions in interface ExtensionPoint
      Returns:
      the accepted contribution types
    • getName

      public String getName()
      Description copied from interface: ExtensionPoint
      Gets the extension point name.
      Specified by:
      getName in interface ExtensionPoint
      Returns:
      the extension point name
    • getDocumentation

      public String getDocumentation()
      Description copied from interface: ExtensionPoint
      Gets the comment attached to this extension point if any.
      Specified by:
      getDocumentation in interface ExtensionPoint
      Returns:
      the comment
    • getSuperComponent

      public String getSuperComponent()
      Description copied from interface: ExtensionPoint
      Get 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:
      getSuperComponent in interface ExtensionPoint
      Returns:
      the base extension point if this extension point is extending another extension point, or null if none
    • createExtension

      public Extension createExtension(Element element)
    • loadContributions

      public Object[] loadContributions(RegistrationInfo owner, Extension extension)