Package telemeta :: Module core :: Class ExtensionPoint
[hide private]
[frames] | no frames]

Class ExtensionPoint

source code

object --+    
         |    
  property --+
             |
            ExtensionPoint

Marker class for extension points in components.

Instance Methods [hide private]
property attribute

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

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

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

Properties [hide private]

Inherited from property: fdel, fget, fset

Inherited from object: __class__

Method Details [hide private]

__init__(self, interface)
(Constructor)

source code 

Create the extension point.

Parameters:
  • interface - the `Interface` subclass that defines the protocol for the extension point
Returns:
property attribute

Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 

Return a textual representation of the extension point.

Overrides: object.__repr__