Package zope :: Package component :: Package bbb :: Module interfaces :: Class IUtilityService
[show private | hide private]
[frames | no frames]

Type IUtilityService

Interface --+
            |
           IUtilityService


A service to manage Utilities.


Class Variable Summary
str getAllUtilitiesRegisteredFor = 'Return all registered ut...
str getUtilitiesFor = 'Look up the registered utilities that...
str getUtility = 'Look up a utility that provides an interfa...
str queryUtility = 'Look up a utility that provides an inter...

Class Variable Details

getAllUtilitiesRegisteredFor

Type:
str
Value:
'''Return all registered utilities for an interface

        This includes overwridden utilities.

        An iterable of utility instances is returned.  No names are
        returned.
        '''                                                            

getUtilitiesFor

Type:
str
Value:
'''Look up the registered utilities that provide an interface.

        Returns an iterable of name-utility pairs.
        '''                                                            

getUtility

Type:
str
Value:
'''Look up a utility that provides an interface.

        If one is not found, raises ComponentLookupError.
        '''                                                            

queryUtility

Type:
str
Value:
'''Look up a utility that provides an interface.

        If one is not found, returns default.
        '''                                                            

Generated by Epydoc 2.1 on Fri Jun 24 12:01:24 2005 http://epydoc.sf.net