Type IRegistrationStack
Interface --+
            |
           IRegistrationStack
A stack of registrations for a set of parameters
A service will have a registry containing registry stacks
for specific parameters.  For example, an adapter service will
have a registry stack for each given used-for and provided
interface.
The registry stack works like a stack: the first element is
active; when it is removed, the element after it is automatically
activated.  An explicit None may be present (at most once) to
signal that nothing is active.  To deactivate an element, it is
moved to the end.
  | Class Variable Summary | 
| str | __nonzero__='The registry is true iff it has no regist... | 
| str | activate='Make the registration active.\n\n        The... | 
| str | active='Return the active registration, if any.\n\n   ... | 
| str | deactivate="Make the registration inactive.\n\n       ... | 
| str | info='Return a sequence of registration information.\n... | 
| str | register='Register the given registration without acti... | 
| str | registered='Is the registration registered?\n\n       ... | 
| str | unregister='Unregister the given registration.\n\n    ... | 
| __nonzero__
  
  
    
      Type:
          strValue:| 
'The registry is true iff it has no registrations.'                     | 
 | 
| activate
  
  
    
      Type:
          strValue:| 
'''Make the registration active.
        The activated() method is called on the registration.  If
        another registration was previously active, its deactivated()
        method is called first.
        If the argument is None, the currently active registration if
        any is disabled and no new registration is activated.
...                                                                     | 
 | 
| active
  
  
    
      Type:
          strValue:| 
'''Return the active registration, if any.
        Otherwise, returns None.
        '''                                                             | 
 | 
| deactivate
  
  
    
      Type:
          strValue:| 
"""Make the registration inactive.
        If the registration is active, the deactivated() method is
        called on the registration.  If this reveals a registration
        that was previously active, that registration's activated()
        method is called.
        Raises a ValueError if the given registration is not registere\
...                                                                     | 
 | 
| info
  
  
    
      Type:
          strValue:| 
'''Return a sequence of registration information.
        The sequence items are mapping objects with keys:
        active -- A boolean indicating whether the registration is
                  active.
        registration -- The registration object.
...                                                                     | 
 | 
| register
  
  
    
      Type:
          strValue:| 
'''Register the given registration without activating it.
        Do nothing if the registration is already registered.
        '''                                                             | 
 | 
| registered
  
  
    
      Type:
          strValue:| 
'''Is the registration registered?
        Return a boolean indicating whether the registration has been
        registered.
        '''                                                             | 
 | 
| unregister
  
  
    
      Type:
          strValue:| 
'''Unregister the given registration.
        Do nothing if the registration is not registered.
        Implies deactivate() if the registration is active.
        '''                                                             | 
 |