| Home | Trees | Index | Help |  | 
|---|
| Package kiwi :: Module component | 
 | 
| Exceptions | |
|---|---|
| AlreadyImplementedError | Called when a utility already exists. | 
| Function Summary | |
|---|---|
| Get the utility for the named interface. | |
| Set the utility for the named interface. | |
| Remove the utility provided for an interface If the utility is not available (has not been set) {NotImplementedError} is raised. | |
| Variable Summary | |
|---|---|
| _UtilityHandler | utilities=<kiwi.component._UtilityHandler object at 0x... | 
| Function Details | 
|---|
| get_utility(iface, default=<class kiwi.ValueUnset at 0x402877dc>)Get the utility for the named interface. If the utility is not available (has not been set) a {NotImplementedError} is raised unless default is set.
 | 
| provide_utility(iface, utility, replace=False)Set the utility for the named interface. If the utility is already set, an {AlreadyImplementedError} is raised.
 | 
| remove_utility(iface)Remove the utility provided for an interface If the utility is not available (has not been set) {NotImplementedError} is raised.
 | 
| Variable Details | 
|---|
| utilities
 | 
| Home | Trees | Index | Help |  | 
|---|
| Generated by Epydoc 2.1 on Fri Mar 23 15:56:56 2007 | http://epydoc.sf.net |