Nuxeo Enterprise Platform 5.4

org.nuxeo.runtime.model
Interface ExtensionPoint

All Known Implementing Classes:
ExtensionPointImpl

public interface ExtensionPoint

A component extension point.

Extension points are described by a name and a list of optional contribution object classes.

When defined, the contribution object classes are the type of objects accepted by this extension point.

The extension point is also responsible for extracting contribution objects from the extension data, if any.

Author:
Bogdan Stefanescu

Method Summary
 java.lang.Class[] getContributions()
          Gets the object types of the contributions accepted by this extension point.
 java.lang.String getDocumentation()
          Gets the comment attached to this extension point if any.
 java.lang.String getName()
          Gets the extension point name.
 java.lang.String getSuperComponent()
          Get the component owning the base extension which this one extends.
 

Method Detail

getName

java.lang.String getName()
Gets the extension point name.

Returns:
the extension point name

getContributions

java.lang.Class[] getContributions()
Gets the object types of the contributions accepted by this extension point.

Returns:
the accepted contribution types

getDocumentation

java.lang.String getDocumentation()
Gets the comment attached to this extension point if any.

Returns:
the comment

getSuperComponent

java.lang.String getSuperComponent()
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.

Returns:
the base extension point if this extension point is extending another extension point, or null if none

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.