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. |
Function Details |
---|
get_utility(iface, default=<class kiwi.ValueUnset at 0x4028a71c>)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.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Oct 9 12:40:59 2006 | http://epydoc.sf.net |