Package posterity :: Module component :: Class ExtensionPoint

Class ExtensionPoint



object --+    
         |    
  property --+
             |
            ExtensionPoint

Marker class for extension points in components.

Instance Methods
 
__init__(self, interface)
Create the extension point.
 
extensions(self, component)
Return a list of components that declare to implement the extension point interface.
 
__repr__(self)
Return a textual representation of the extension point.

Inherited from property: __delete__, __get__, __getattribute__, __new__, __set__

Inherited from object: __delattr__, __hash__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties

Inherited from property: fdel, fget, fset

Inherited from object: __class__

Method Details

__init__(self, interface)
(Constructor)

 

Create the extension point.

@param interface: the Interface subclass that defines the protocol
for the extension point
Returns:
property attribute

Overrides: property.__init__

__repr__(self)
(Representation operator)

 
Return a textual representation of the extension point.
Overrides: object.__repr__