Type IAdapterRegistry
Interface
--+
|
IAdapterRegistry
Provide an interface-based registry for adapters
This registry registers objects that are in some sense "from" a
sequence of specification to an interface and a name.
No specific semantics are assumed for the registered objects,
however, the most common application will be to register factories
that adapt objects providing required specifications to a provided
interface.
Method Summary |
Inherited from InterfaceClass |
|
names (self,
all)
Return the attribute names defined by the interface. |
|
subscribe (self,
dependent)
|
Class Variable Summary |
str |
lookup = 'Lookup a value\n\n A value is looked up...
|
str |
lookupAll = 'Find all adapters from the required to the ...
|
str |
register = 'Register a value\n\n A value is regis...
|
str |
subscriptions = 'Get a sequence of subscribers\n\n ...
|
lookup
-
- Type:
-
str
- Value:
'''Lookup a value
A value is looked up based on a *sequence* of required
specifications, a provided interface, and a name.
'''
|
|
lookupAll
-
- Type:
-
str
- Value:
'''Find all adapters from the required to the provided interfaces
An iterable object is returned that provides name-value two-tu\
ples.
'''
|
|
register
-
- Type:
-
str
- Value:
'''Register a value
A value is registered for a *sequence* of required specificati\
ons, a
provided interface, and a name.
'''
|
|
subscriptions
-
- Type:
-
str
- Value:
'''Get a sequence of subscribers
Subscribers for a *sequence* of required interfaces, and a pro\
vided
interface are returned.
'''
|
|