Nuxeo Enterprise Platform 5.4

org.nuxeo.runtime.model.impl
Class ExtensionPointImpl

java.lang.Object
  extended by org.nuxeo.runtime.model.impl.ExtensionPointImpl
All Implemented Interfaces:
java.io.Serializable, ExtensionPoint

public class ExtensionPointImpl
extends java.lang.Object
implements ExtensionPoint, java.io.Serializable

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Field Summary
 java.lang.Class[] contributions
           
 java.lang.String documentation
           
 java.lang.String name
           
 RegistrationInfo ri
           
 java.lang.String superComponent
           
 XMap xmap
           
 
Constructor Summary
ExtensionPointImpl()
           
 
Method Summary
 Extension createExtension(org.w3c.dom.Element element)
           
 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.
 java.lang.Object[] loadContributions(RegistrationInfo owner, Extension extension)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name

superComponent

public java.lang.String superComponent

documentation

public java.lang.String documentation

contributions

public transient java.lang.Class[] contributions

xmap

public transient XMap xmap

ri

public transient RegistrationInfo ri
Constructor Detail

ExtensionPointImpl

public ExtensionPointImpl()
Method Detail

getContributions

public java.lang.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 java.lang.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 java.lang.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 java.lang.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(org.w3c.dom.Element element)

loadContributions

public java.lang.Object[] loadContributions(RegistrationInfo owner,
                                            Extension extension)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.