Hello,
Is it possible to get an object that provides (from a class that implements) a
interface without mentioning the class? In other words:
class ISomething(Interface):
def method(self):
""" Do something
"""
class SomethingImplementor:
implements(ISomething)
def method(self):
print "I exist!!"
obj = ISomething()
# and obj gets an instance of "SomethingImplementor", without
# mentioning it.
The documentation of component usage in twisted only mentions interfaces in
the context where "Adapters" are needed.
Gustavo